Promptify
Promptify copied to clipboard
Relation_extraction.jinja not working
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?
Hi, did you install it from GitHub directly?
pip3 install git+https://github.com/promptslab/Promptify.git
Hi, @monk1337 . Yes, this worked.
Is there any way for getting the same relations every time we execute the code because right now on every execution the relations extracted are different?