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

    Which parts exactly are we supposed to cover with the mention in queries

    asked 2022-09-27 16:12:09 +0000

    Vanessa gravatar image

    Utterance&Annotation in the guideline:

    1.number of countries in europe: knowledge:display -- [number of countries in europe]<search_phrase>
    2.what is the most common problem for two thousand four toyota matrixes: knowledge:automotive -- [what is the most common problem for two thousand four toyota matrixes]<search_phrase>
    

    Question:

    This two examples above are driving us confused when we are dealing with some queries. As we all know, in some queries, the query only makes sense as a searchphrase as a whole, like "how tall was steve jobs", since there's no way to throw away the "how tall was" part and have a somewhat same search result. But in others things can be a lot different. For example, "what is the most common problem for two thousand four toyota matrixes" as a search phrase might just give you the same result as "most common problem for two thousand four toyota matrixes". We are eager for a rule of thumb to determine which parts exactly are we supposed to cover with the <searchphase> mention in a query when there are "redundunt" parts that seem can be excluded from the mention.

    edit retag flag offensive close merge delete

    Comments

    The team is looking into this and will respond asap

    Jacqui gravatar image Jacqui  ( 2022-09-27 19:06:16 +0000 ) edit

    1 Answer

    Sort by ยป oldest newest most voted
    0

    answered 2023-05-17 11:05:37 +0000

    Jacqui gravatar image

    updated 2023-05-17 11:05:50 +0000

    Rule of thumb for the <search_phrase> mention in knowledge domain.

    Within the display and automotive intents, question words (e.g. "where", "how") should be included in this mention, but words indicating a get intent or a similar intent (e.g. "do you know", "tell me") should not be included in the mention. Within the more specific intents (i.e. the antonym, definition, pronunciation, spelling, synonym and translation intents), exclude both the question words and the words indicating the intent from <search_phrase>.

    Correct Annotations

    knowledge:display -- [number of countries in europe]<search_phrase>

    knowledge:automotive -- [what is the most common problem for two thousand four toyota matrixes]<search_phrase>

    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: 2022-09-27 16:12:09 +0000

    Seen: 185 times

    Last updated: May 17 '23