Skip to content

Output language is sometimes non English #2

@rakendd

Description

@rakendd

For most of the questions, it is giving English language output
But one particular question

query = "Why is the theory of everything significant?"
result = qa({"query": query, "language": "english","k":9, "top_n":3})
{'query': 'Why is the theory of everything significant?',
 'language': 'english',
 'k': 9,
 'top_n': 3,
 'result': ' La teoría del todo es significativa porque podría unificar todas las interacciones fundamentales de la naturaleza, que son consideradas como cuatro: gravitación, la fuerza nuclear fuerte, la fuerza nuclear débil y la electromagnética. Esto permitiría una comprensión profunda de varios tipos diferentes de partículas, así como de diferentes fuerzas.'}

Output is Spanish, even though mentioning language as English.
Is there a way we can force it to give only English language output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions