Promptify icon indicating copy to clipboard operation
Promptify copied to clipboard

Relation_extraction.jinja not working

Open kartikay24 opened this issue 1 year ago • 2 comments

As mentioned in the code I executed the code and downloaded everything from requirements.txt other codes are working but

Code for Relation Extraction

result= nlp_prompter.fit('relation_extraction.jinja', 
                                   domain = 'clinical',
                                   # examples = [prompt_examples[0]],
                                   text_input  = sent)
print(result['text'])

gives the error "TemplateNotFound". What should I do?

kartikay24 avatar Apr 10 '23 09:04 kartikay24