Comments (3)
Hi @jorge683 can we get the xml you are using? I'm testing the create
method and it seems to be working for me.
from java-sdk.
Hi
I'm using one of the sample files provided (https://raw.githubusercontent.com/watson-developer-cloud/dialog-tool/master/dialogs/pizza_sample.xml).
Can you include sample on how you call the createDialog API function (I am not able to find a create method)?
Thank you.
from java-sdk.
Hi @jorge683, I just tried:
service = new DialogService();
service.setUsernameAndPassword("USERNAME","PASSWORD");
service.setEndPoint("https://gateway.watsonplatform.net/dialog-beta/api");
File dialogFile = new File("pizza_sample.xml");
Dialog newDialog = service.createDialog("my-pizza-dialog", dialogFile);
And it's working. Make sure you use https://gateway.watsonplatform.net/dialog-beta/api
because by default the service will try to use the experimental version which is https://gateway.watsonplatform.net/dialog-experimental/api
and it doesn't support xml.
from java-sdk.
Related Issues (20)
- Latest release v8.5.0 contains Okio package vulnerable to CWE-327 HOT 9
- Issue while reading text using speech to text HOT 1
- Proxy username password HOT 10
- [Speech To Text] Interim results set to true but doesn't work HOT 3
- Please specify versions HOT 1
- [Text-to-Speech] Exception in provided example HOT 1
- Watson Discovery V1 Duplicate Documents Upload HOT 4
- Assistant - HTTPS proxy not working? HOT 6
- Assistant v1 - Can't remove NextStep from Dialog Node HOT 13
- [Watson-assistant] Context variables passed from client does not work HOT 2
- [Language Translator] InaccessibleObjectException when fetching supported languages with JDK 16 HOT 3
- Gson 2.8.9 java.lang.NoSuchFieldError HOT 2
- Deserialization target class for discriminator value: search HOT 1
- [Watson-Assistant v1] Missing fields in Workspace model get overridden after update request HOT 5
- ibm.sdk-core bump for gson fix HOT 2
- Fatal Exception: java.lang.NoClassDefFoundError on Android 6 HOT 1
- I have an issue with the count of current closed issues being 504 . 504, in Rest is a jinx number so here's issue 505 HOT 1
- Add new smart_formatting_version parameter to RecognizeOptions for Speech-to-text SDK HOT 1
- Add new speech_begin_event parameter to RecognizeOptions for Speech-to-text SDK HOT 3
- Watson STT Java SDK: "smart_formatting_version" parameter should be "integer", not boolean HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-sdk.