Skip to content

[Improvement] Make string replacement in utils.js case insensitive and word bound #99

@alex-sun-kuo

Description

@alex-sun-kuo

We currently replace key words like "area" and "neighborhood" with "zip code" on the front end, before passing the natural language query to the backend. I'd like to make this parsing/replacement process case insensitive and word bound (for ex, "asdfarea" would not be replace with "zip code").

Screenshot 2023-03-14 at 4 01 57 PM

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