Skip to content

[Feature request] Create template NER with keyword position for prompts  #23

Description

@monk1337

We already have the NER template
https://github.com/promptslab/PromptifyJs/blob/main/examples/nerExample.js

But that is not returning the position of the entity in the raw test. We need to modify the template to add one more parameter called position: bool if true, return the format like below.

[{'E': '93-year-old', 'T': 'Age', 'start':29, 'end': 47}]

  • Modify the current NER
  • Add reference data
  • Add examples

The 'start':29, 'end': 47 would be useful for the UI part.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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