diff --git a/docs/examples.rst b/docs/examples.rst index 1cbac7d6e..112788e0e 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -63,6 +63,17 @@ ChatterBot data can be saved and retrieved from SQL databases. .. literalinclude:: ../examples/sql/memory_sql_example.py :language: python +Read only mode +============== + +Your chat bot will learn based on each new input statement it receives. +If you want to disable this learning feature after your bot has been trained, +you can set `read_only=True` as a parameter when initializing the bot. + +.. code-block:: python + + chatbot = ChatBot("Johnny Five", read_only=True) + More Examples ============= diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 4e8c05c88..b1c96bccb 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -65,14 +65,3 @@ Get a response response = chatbot.get_response("Good morning!") print(response) - -Read only mode -============== - -Your ChatterBot will learn based on each new input statement it receives. -If you want to disable this learning feature after your bot has been trained, -you can set `read_only=True` as a parameter when initializing the bot. - -.. code-block:: python - - chatbot = ChatBot("Johnny Five", read_only=True)