Skip to content

Commit 091bd0c

Browse files
authored
Merge pull request RasaHQ#5210 from RasaHQ/rename_running_server_rebase
Rename Running the Server to Configuring the HTTP API
2 parents 8647eb7 + 8ba2b4f commit 091bd0c

File tree

7 files changed

+20
-13
lines changed

7 files changed

+20
-13
lines changed

changelog/5210.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Renamed "Running the Server" page to "Configuring the HTTP API"

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Understand messages, hold conversations, and connect to messaging channels and A
3030
user-guide/messaging-and-voice-channels
3131
user-guide/evaluating-models
3232
user-guide/validate-files
33-
user-guide/running-the-server
33+
user-guide/configuring-http-api
3434
user-guide/how-to-deploy
3535
user-guide/cloud-storage
3636

docs/user-guide/command-line-interface.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Command Effect
2323
``rasa train`` Trains a model using your NLU data and stories, saves trained model in ``./models``.
2424
``rasa interactive`` Starts an interactive learning session to create new training data by chatting.
2525
``rasa shell`` Loads your trained model and lets you talk to your assistant on the command line.
26-
``rasa run`` Starts a Rasa server with your trained model. See the :ref:`running-the-server` docs for details.
26+
``rasa run`` Starts a Rasa server with your trained model. See the :ref:`configuring-http-api` docs for details.
2727
``rasa run actions`` Starts an action server using the Rasa SDK.
2828
``rasa visualize`` Visualizes stories.
2929
``rasa test`` Tests a trained Rasa model using your test NLU data and stories.
@@ -161,7 +161,7 @@ The following arguments can be used to configure your Rasa server:
161161

162162
.. program-output:: rasa run --help
163163

164-
For more information on the additional parameters, see :ref:`running-the-server`.
164+
For more information on the additional parameters, see :ref:`configuring-http-api`.
165165
See the Rasa :ref:`http-api` docs for detailed documentation of all the endpoints.
166166

167167
.. _run-action-server:

docs/user-guide/running-the-server.rst renamed to docs/user-guide/configuring-http-api.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
:desc: Find out how to use Rasa's HTTP API to integrate Rasa
22
with your backend components.
33

4-
.. _running-the-server:
4+
.. _configuring-http-api:
55

6-
Running the Server
7-
==================
6+
Configuring the HTTP API
7+
========================
88

99
.. edit-link::
1010

1111
.. contents::
1212
:local:
1313

14-
Running the HTTP server
15-
-----------------------
14+
Using Rasa's HTTP API
15+
---------------------
16+
17+
.. note::
18+
19+
The instructions below are relevant for configuring how a model is run
20+
within a Docker container or for testing the HTTP API locally. If you
21+
want to deploy your assistant to users, see :ref:`deploying-your-rasa-assistant`.
1622

1723
You can run a simple HTTP server that handles requests using your
1824
trained Rasa model with:

rasa/cli/initial_project/endpoints.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file contains the different endpoints your bot can use.
22

33
# Server where the models are pulled from.
4-
# https://rasa.com/docs/rasa/user-guide/running-the-server/#fetching-models-from-a-server/
4+
# https://rasa.com/docs/rasa/user-guide/configuring-http-api/#fetching-models-from-a-server/
55

66
#models:
77
# url: http://my-server.com/models/default_core@latest

rasa/cli/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,6 @@ def run(args: argparse.Namespace):
123123
"3. Train a model before running the server using `rasa train` and "
124124
"use '--model' to provide the model path.\n"
125125
"For more information check {}.".format(
126-
DOCS_BASE_URL + "/user-guide/running-the-server/"
126+
DOCS_BASE_URL + "/user-guide/configuring-http-api/"
127127
)
128128
)

rasa/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def decorated(*args, **kwargs):
102102
"Conflict",
103103
"No agent loaded. To continue processing, a "
104104
"model of a trained agent needs to be loaded.",
105-
help_url=_docs("/user-guide/running-the-server/"),
105+
help_url=_docs("/user-guide/configuring-http-api/"),
106106
)
107107

108108
return f(*args, **kwargs)
@@ -168,7 +168,7 @@ async def decorated(request: Request, *args: Any, **kwargs: Any) -> Any:
168168
"NotAuthorized",
169169
"User has insufficient permissions.",
170170
help_url=_docs(
171-
"/user-guide/running-the-server/#security-considerations"
171+
"/user-guide/configuring-http-api/#security-considerations"
172172
),
173173
)
174174
elif token is None and app.config.get("USE_JWT") is None:
@@ -182,7 +182,7 @@ async def decorated(request: Request, *args: Any, **kwargs: Any) -> Any:
182182
"NotAuthenticated",
183183
"User is not authenticated.",
184184
help_url=_docs(
185-
"/user-guide/running-the-server/#security-considerations"
185+
"/user-guide/configuring-http-api/#security-considerations"
186186
),
187187
)
188188

0 commit comments

Comments
 (0)