Skip to content

Allow multiline queries #274

@Akron

Description

@Akron

I think we discussed this when establishing ANNIS, but it may be more relevant for things like natural language queries in the future (i.e. AI integration) - this should at least be taken into account when changing the UI design.

For AI integration I would think we allow users to write a question like Ich suche Nomen, die nach dem Adjektiv 'alter' kommen. Sortiere sie nach Vorkommenshäufigkeit. or something similar. The question should be prefixed with a document describing all language features of either KoralQuery or a QL supported by KorAP. The AI should simply draft a query, that will then be shown to the user with comments on what these query fragments mean in regard to the original question - and for that I would say we need multiline query inputs. The query then can be send to the backend (no AI involved).

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