Hi all!
I have a problem with knowledge base. When I try to get information about specific object it is shows not full list of all objects.
For example: “What about benefits in Krakow?”,
Bot displays “Found the following objects of type ‘kb_location’:
Correct this
1: kharkiv softdev
2: kiev
3: lviv
4: minsk
5: kharkiv bpo”
I expected: “‘krakow’ has the value ‘benefits poland’ for attribute ‘benefits’.”
And when I asks same question in second - than it works as I expected, but I need correct message at once
My data.json:
{ "kb_location": [ { "id": 0, "name": "kiev", "payments": "payments ukraine", "benefits": "benefits ukraine" }, { "id": 1, "name": "lviv", "payments": "payments ukraine", "benefits": "benefits ukraine" }, { "id": 2, "name": "minsk", "payments": "payments belarus", "benefits": "benefits belarus" }, { "id": 3, "name": "krakow", "payments": "payments poland", "benefits": "benefits poland" } ] }
And here is my training data:
- What [benefits](attribute:benefits) in [kiev](kb_location)?
- Tell me about [benefits](attribute:benefits) in [lviv](kb_location)?
- Which [benefits](attribute) in [minsk](kb_location)?
- Give me information about [benefits](attribute) in [lviv](kb_location)?
- Give information about [benefits](attribute) in [minsk](kb_location)?
- Information about [benefits](attribute) in [minsk](kb_location)?
- Information about [minsk](kb_location) [benefits](attribute)?
- Send me link about [benefits](attribute) in [kiev](kb_location)?
- [benefits](attribute) in [krakow](kb_location)?
Can someone help me, please?