Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

how to handle currency and date Problem in Conversation?

5051MK5Q8T gravatar image
Question by Pelican_1234  (1) | Jan 09, 2018 at 01:12 AM watsonwatson-assistantwatson-knowledge-studioknowledge

hello, If have enter date and four digit amount in sentence, then it detect that four digit amount replace the date year in date format as well as detect currency also.

e.g.pay 2000 euro to my account tomorrow output:

@sys-date:2000-01-01 @sys-date:2000-12-31 @sys-number:2000 @sys-currency:2000 @CurrencyUnit:EUR @sys-date:2018-01-10

how to resolve this issue please help me out????????

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
110000PNBC gravatar image

Answer by @chughts (12979) | Jan 09, 2018 at 09:47 AM

As 2000 is matching both date (incorrectly) and currency (correctly), I think your dialog flow will need to detect that multiple potential dates have been provided, and 2018 is the best fit, but to verify with your end user that this is the date that he meant. When you have currency quantities that can be interpreted as dates, then I think this problem is going to be unavoidable.

Comment

People who like this

  0   Show 4   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
5051MK5Q8T gravatar image Pelican_1234 (1)   Mar 08, 2018 at 03:43 AM 0
Share

for text input we provide popup please insert date in this format(2,000) but for voice it not work again facing same issues.

110000PNBC gravatar image @chughts (12979) ♦   Mar 08, 2018 at 05:08 AM 0
Share

What is the voice prompt?

5051MK5Q8T gravatar image Pelican_1234 (1) @chughts (12979) ♦   Apr 27, 2018 at 06:10 AM 0
Share

pay 2000 euro to sachin narkhede

110000PNBC gravatar image @chughts (12979) ♦   Apr 27, 2018 at 06:33 AM 0
Share

That should match a payment intent, which should only be expecting a currency and a number. So the fact that it also matches date will get ignored. Unless you are allowing something like pay 2000 euro to sachin narkhede next thursday, when it gets a little more complicated.

Follow this question

138 people are following this question.

Answers

Answers & comments

Related questions

Re-Annotation In Watson Knowledge Studio 1 Answer

how to add own human names dictionary in Watson Knowledge studio or Conversation 2 Answers

how to process prompt input messagein onme function to other function NODe Js? 1 Answer

How to pass context to watson conversation using node js (add new context variable assign values to them from WKS nlu)?????? 0 Answers

Can we use Watson Knowledge Studio and Conversation API together? 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges