I am successfully using Watson conversation Service. But now requirement is to put math Equation in Watson Response. How do I do that? Also I tried using an external Mathematics keyboard to type, but since my TTS service does not understand equations, I don’t get my desired response. Is there a way to use LaTex here? Also is there a way to put function in my JSON Watson Response. Thanks so much Eg:
Function in Watson conversation
827 Views Asked by Sabiha Taskin At
1
There are 1 best solutions below
Related Questions in JSON
- getting undefined while iterating json
- How can I serialize a numpy array while preserving matrix dimensions?
- What is best way to check if any of the property of object is null or empty?
- How to query JSON data according to JSON array's size with Spark SQL?
- Extracting data from json_decode with lat and lng geolocation
- Convert JSON.gz to JSON in node js
- How do I get the type to convert to when deserializing from Jackson
- Escape dot in jquery validate plugin
- Are allOf and properties keywords interchangeable?
- Sort continents by amount of countries
- Is there a data format lighter than json?
- Object of class CS_REST_Wrapper_Result could not be converted to string in CAMPAIGN MONITOR
- How to read JSON data from a web server running PHP and MySQL?
- Parse Nsmutabledictionary and extract value
- Handle empty JSON values in Java
Related Questions in LATEX
- Cannot get the table that I need in latex
- Mathematics not working when converting from LaTeX to docx (through markdown) using pandoc
- Why reflectbox doesn't work when pdflatex is called with the dvips option of graphicx package
- os.path.getsize Invalid syntax error
- How to put square brackets on elements in specific rows of a matrix in R
- How can I get all the `\begin{definition}...\end{definition}` blocks in a LaTeX file?
- Emacs and Skim not in Sync fails to open
- How to change arrow tip in tikz
- pyreport LaTeX formulae not working
- Latex \newcommand in kramdown
- How can I use values and charts in a knitr / LaTeX document before R has calculated them?
- convert string to latex table format in Python
- Unwanted R code echo when compiling PDF with knitr
- Python Regex to Simplify LaTex Fractions
- Python3 LaTex PDF generator using subprocess, Error: memoryview: str object does not have the buffer interface
Related Questions in IBM-WATSON
- Can any one help me in storing the json output of personality insights API to csv using Python?
- How to gain authorization to perform requested action, specifically create an instance of a service in Bluemix?
- What file formats are supported by Watson Speech to Text in Bluemix
- We are tring to configure for the first time Text To Speech bt Watson in Node Red with no luck
- Can one get multiple results from one API call in IBM Watson?
- IBM BigInsights (IBM Hadoop) vs IBM Watson
- IBM Watson Speech to Text API with node. How to output to DOM?
- How to instruct IBM Watson Discovery about the format of my documents?
- IBM Watson speech to text for Android: NoClassDefFoundError
- Configuring Watson for multiples intents?
- Using watson Speech to Text from a browser with websockets (Live detection)
- Can I upload a zip file with htmls or a zip file with json files using the Web Interface of Watson Retrieve and Rank service?
- Watson knowledge studio: how to teach my model to get recipe name?
- error in java package after add watson developer cloud library
- Error: The app has not been configured with a WORKSPACE_ID environment variable
Related Questions in WATSON-CONVERSATION
- Configuring Watson for multiples intents?
- Error: The app has not been configured with a WORKSPACE_ID environment variable
- How to handle shared entities (e.g. size)
- Referencing multiple entities of the same type in a response
- Can I use a LaTex script in Watson Conversation service Dialog flow?
- API to update entities for IBM Watson Conversation
- how can I call a webservice from watson conversation?
- Using pre-recorded audio instead of text-to-speech along with Watson Conversation bot
- Function in Watson conversation
- Watson Conversation Pre-Processing advice
- Difference between IBM Watson Conversation and Natural Language Classifier?
- Save chat history from watson conversation service to Cloudant NoSQL DB
- Watson conversation service validation
- Curl request equivalent in VB.NET
- How to set intent in a watson conversation dialog
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

I see two questions here:
For #1, see my answer at https://stackoverflow.com/a/41489073/933879 - it's basically any text you want including JSON and HTML, and you can optionally convert/translate it before speaking or displaying it to your user.
For #2, you will need to write out the equation in words. So, instead of "f(x)", you'd need to send the TTS service the string "f of x", etc. (The service supports some customization, but I don't think it would work for this situation.)
If you use JSON for the response, you could include both versions - a HTML one for display and a "wordy" one for TTS. (Note that because the service already sends JSON back with a string response, you're going to end up with JSON-inside-of-JSON. Not ideal, but not the end of the world.)
To get started, it's going to be much simpler to do it this way and just write things twice. Your initial "translation" layer will decode the JSON, split those two up and e.g. display the math part as HTML and call the Text to Speech service with the wordy part.
You can see some example apps at https://github.com/watson-developer-cloud?utf8=%E2%9C%93&q=conversation&type=&language= - most of those convert the responses to HTML, so it would just be a simple jump from there to HTML + Audio.
Once you have it working smoothly with manual conversion from formulas to words, you can start working on a system to automate this. I don't have any experience here, but I have a feeling that it's more complex than it sounds. I'm not aware of any existing code to do this, so you're pretty much on your own at this point.
Here's a picture of what I mean when I say JSON for the html and wordy response:
And, here's an example of processing that with a translation layer: