# Question about Knowledge Base Action

**URL:** <https://forum.rasa.com/t/question-about-knowledge-base-action/45197>\
**Category:** Rasa Open Source\
**Created:** [June 29, 2021, 2:38pm UTC](https://forum.rasa.com/t/question-about-knowledge-base-action/45197 "2021-06-29T14:38:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BELIEVEIT](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/believeit/32/15170_2.png) [@BELIEVEIT](https://forum.rasa.com/u/BELIEVEIT)\
**Post date:** [June 29, 2021, 2:38pm UTC](https://forum.rasa.com/t/question-about-knowledge-base-action/45197/1 "2021-06-29T14:38:23Z")

</div>

Doc : [Knowledge Base Actions](https://rasa.com/docs/action-server/knowledge-bases#customize-in-memory-knowledge-base)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/c61f2fda0fb08736ad7ed40b2492cbacb59858e0.png)

Hi rasa community , i new to rasa and i just read up on this experimental feature which quite interesting. Woud like to ask for example in shell :

Your input → do you know the price range of that one  
‘Lụa Restaurant (Vietnamese)’ has the value ‘cheap’ for attribute ‘price-range’. // \*For this line

For the 2nd line in shell , what should i do to implement in the actions.py to have my bot make use of the domain knowledge attribute to generate proper string response to user just like the example shown in doc .

---

<div class="post-metadata">

**Author:** ![BELIEVEIT](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/believeit/32/15170_2.png) [@BELIEVEIT](https://forum.rasa.com/u/BELIEVEIT)\
**Post date:** [June 29, 2021, 4:57pm UTC](https://forum.rasa.com/t/question-about-knowledge-base-action/45197/2 "2021-06-29T16:57:14Z")

</div>

To add-on : What is the best method to implement a retail-voice assistant , should i use the Json or database method for knowledge base . Currently i looking to use this KBA to implement for rasa to awnser question to user on certain product (example A Phone specification with or without 3.5mm jack,etc)

---

<div class="post-metadata">

**Author:** ![Dustyposa](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dustyposa/32/13745_2.png) [@Dustyposa](https://forum.rasa.com/u/Dustyposa)\
**Post date:** [June 30, 2021, 3:32am UTC](https://forum.rasa.com/t/question-about-knowledge-base-action/45197/3 "2021-06-30T03:32:21Z")

</div>

You can add corpus to cover the second one.

---

<div class="post-metadata">

**Author:** ![BELIEVEIT](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/believeit/32/15170_2.png) [@BELIEVEIT](https://forum.rasa.com/u/BELIEVEIT)\
**Post date:** [June 30, 2021, 4:06am UTC](https://forum.rasa.com/t/question-about-knowledge-base-action/45197/4 "2021-06-30T04:06:58Z")

</div>

Sorry I think there is a misunderstood from my question , I would like to modify the domain knowledge response to a proper string just like example showing in the doc
