[ 
https://issues.apache.org/jira/browse/NLPCRAFT-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248282#comment-17248282
 ] 

Aaron Radzinski edited comment on NLPCRAFT-188 at 12/12/20, 3:08 AM:
---------------------------------------------------------------------

* Help for this command has been improved.
 * REPL doesn't usually support output of the command into external files. You 
can achieve it by using nlpcraft.\{sh|cmd} script in the command line more, e.g.
 ## nlpcraft.sh *start-server*
 ## nlpcraft.sh *start-probe*
 ## nlpcraft.sh *rest* -p=signin -j='\{"email": "[email protected]", "passwd": 
"admin"}'
 ## nlpcraft.sh *no-ansi rest* -p=model/sugsyn -j='\{"acsTok": "1234567890", 
"mdlId": ""nlpcraft.lightswitch.ex"}' > *output.txt*

Make sure to change "1234567890" access token to the actual one from 'signin' 
call.


was (Author: aradzinski):
* Help for this command has been improved.
 * REPL doesn't usually support output of the command into external files. You 
can achieve it by using nlpcraft.\{sh|cmd} script in the command line more, e.g.
 ## nlpcraft.sh *start-server*
 ## nlpcraft.sh *start-probe*
 ## nlpcraft.sh *rest* -p=signin -j='\{"email": "[email protected]", "passwd": 
"admin"}'
 ## nlpcraft.sh *no-ansi rest* -p=model/sugsyn -j='\{"acsTok": "1234567890", 
"mdlId": "admin"}' > *output.txt*

Make sure to change "1234567890" access token to the actual one from 'signin' 
call.

> 'sugsyn' CLI command problem.
> -----------------------------
>
>                 Key: NLPCRAFT-188
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-188
>             Project: NLPCraft
>          Issue Type: Improvement
>          Components: nlpcraft CLI
>            Reporter: Sergey Kamov
>            Assignee: Aaron Radzinski
>            Priority: Major
>             Fix For: 0.7.3
>
>
> 1. please clarify help for his command. Probe with some models must be 
> started for usage of this command, it should be described clearly
> 2. We need the possibility to save the same commands output results to files
> For example `sugsyn` can produce huge output and it is difficult to review it 
> with the console.
> We need
>  - sugsyn ... > file.txt support
>  - or add some optional parameter -file for such commands
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to