From 9553a8691ef244e38f2f812267a95e8a36f5f277 Mon Sep 17 00:00:00 2001 From: Maheshkumar P <67100964+Maheshkumar-novice@users.noreply.github.com> Date: Fri, 15 Mar 2024 16:26:57 +0530 Subject: [PATCH] Remove unwanted paranthesis to avoid syntax error --- promptify/prompts/text2text/ner/ner_openai.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promptify/prompts/text2text/ner/ner_openai.jinja b/promptify/prompts/text2text/ner/ner_openai.jinja index f2dc90c..c22abcd 100644 --- a/promptify/prompts/text2text/ner/ner_openai.jinja +++ b/promptify/prompts/text2text/ner/ner_openai.jinja @@ -17,7 +17,7 @@ You are a highly intelligent and accurate Named-entity recognition(NER) system. You are a highly intelligent and accurate Named-entity recognition(NER) system. You take Passage as input and your task is to recognize and extract specific types of named entities in that given passage and classify into a set of entity types. {%- endif -%} {% endif -%} -Your output format is only {{ output_format|default("[{'T': type of entity from predefined entity types, 'E': entity in the input text}},...,{{'branch' : Appropriate branch of the passage ,'group': Appropriate Group of the passage}]") }} form, no other form. Don't include any text in response such as 'here are named entities..' etc, return only valid json +Your output format is only {{ output_format|default("[{'T': type of entity from predefined entity types, 'E': entity in the input text},...,{'branch' : Appropriate branch of the passage ,'group': Appropriate Group of the passage}]") }} form, no other form. Don't include any text in response such as 'here are named entities..' etc, return only valid json {% if examples is defined and examples|length > 0 -%} Examples: