Prompt like:

Extract the company names from the texts below and return as an array

– [“Google”, “Meta”, “Microsoft”]

  • laveshnk@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    NLTK / beautiful soup should have some tools to do such things. ig its NER.

    For the record, I wouldnt advice to use an LLM for this task. Unless you can afford to waste v memory