Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Conversation service = new Conversation("2018-02-16");
- service.setEndPoint("https://gateway.watsonplatform.net/conversation/api");
- service.setUsernameAndPassword(conversation_username, conversation_password);
- service.setSkipAuthentication(true);
- InputData input = new InputData.Builder(inputmessage).build();
- MessageOptions options = null;
- //5407627322769287
- if(context==null || "".equals(context)){
- options = new MessageOptions.Builder(workspace_id).input(input).build();
- }else{
- options = new MessageOptions.Builder(workspace_id).input(input).context(context).build();
- }
- //4915758581868#wi637168#n8upm2WNPC
- if(options==null){
- throw new NullPointerException("Options null!");
- }
- MessageResponse response = service.message(options).execute();
- contact joao.bosco.jares.alves.chaves_at_fit.fraunhofer.de
- ConnectMe_lachen
- Further Links
- Selfservice: https://www.rwth-aachen.de/selfservice
- IdM: https://www.itc.rwth-aachen.de/go/id/esss
- Dokumentationsportal: https://doc.itc.rwth-aachen.de/display/IDM/Anleitungen
- Services: https://www.itc.rwth-aachen.de/go/id/eqsz?lidx=1
Advertisement
Add Comment
Please, Sign In to add comment