You are seeing this message because you are using the Django runserver and the DEBUG setting is False.

Runserver should not be used in the production.

If you do not see page the styling - set DEBUG = True or use --insecure flag with the runserver command.

To serve the static media in the production:

  • configure your webserver to alias the urls starting with /m/ to the directory /root/askbot/askbot-devel-master/myappmysql1/askbot_site/static;
  • run python manage.py collectstatic.

  • Ask Your Question
    0

    Confused why keyword "route" belong to "na" intent

    asked 2023-10-20 09:58:58 +0000

    Vanessa gravatar image

    updated 2023-10-20 10:20:18 +0000

    In the guideline of intent "getdirections", there is a keyword "route", and it's example include locations:getdirections -- route

    So when meet utterance like "the route one", according to guideline it seems like the user wants to asking for directions, and he choose the first route.

    utterence: the route one

    our annotation: locations:get_directions -- the route [which] one [/which]

    If the annotation is not correct, could you please tell me why "na" intent is corect?

    Thanks a lot~

    edit retag flag offensive close merge delete

    1 Answer

    Sort by ยป oldest newest most voted
    0

    answered 2023-10-20 11:20:41 +0000

    Jacqui gravatar image

    We chose locations:na rather than locations:get_directions as this intent seemed more like a selection intent that an intent to get directions, similar to:

    locations:na:path_modifier -- route with [highways]<path_modifier>

    locations:na:avoidpathmodifier -- route without [highways]<avoid_path_modifier>

    But, according to the guidelines we should use get_directions intent for "queries specifying routes" as well as for "queries asking for directions or navigation to or from a location". Since these examples fall into the first group, your original annotations are correct. Apologies for the misunderstanding.

    edit flag offensive delete link more

    Your Answer

    Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

    Add Answer

    Question Tools

    1 follower

    Stats

    Asked: 2023-10-20 09:58:58 +0000

    Seen: 73 times

    Last updated: Oct 20 '23