Josebert commited on
Commit
c7a75ac
·
verified ·
1 Parent(s): 1488a70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -20,9 +20,11 @@ def analyze_figure_of_speech(verse):
20
  prompt = f"""<s>[INST] You are JR-Sacred Syntax, an expert biblical scholar specializing in the analysis of Bible verses.
21
  Analyze the following Bible verse to identify any figures of speech (e.g., Metaphor, Synecdoche, Hyperbole, Simile, Paradox).
22
  Return your answer as a JSON array where each element contains:
 
23
  - "figure": the type of figure of speech,
24
  - "phrase": the exact phrase in the verse,
25
- - "explanation": a brief explanation of why it qualifies as that figure in a biblical context.
 
26
  Bible Verse: "{verse}"
27
  [/INST] Figures:</s>"""
28
 
 
20
  prompt = f"""<s>[INST] You are JR-Sacred Syntax, an expert biblical scholar specializing in the analysis of Bible verses.
21
  Analyze the following Bible verse to identify any figures of speech (e.g., Metaphor, Synecdoche, Hyperbole, Simile, Paradox).
22
  Return your answer as a JSON array where each element contains:
23
+ - "verse": show the Bible verse in NKJV
24
  - "figure": the type of figure of speech,
25
  - "phrase": the exact phrase in the verse,
26
+ - "explanation": a brief explanation of why it qualifies as that figure in a biblical context,
27
+ - "parahrase": give different parahrase of the of the verse after explanation to help understand.
28
  Bible Verse: "{verse}"
29
  [/INST] Figures:</s>"""
30