Camille1905
commited on
Commit
•
7f61ffc
1
Parent(s):
8d701c5
Update prompt_demo_analysis.py
Browse files- prompt_demo_analysis.py +0 -10
prompt_demo_analysis.py
CHANGED
@@ -4,16 +4,6 @@
|
|
4 |
##A short analysis with reasoning.
|
5 |
##A boolean answer in French ("oui" or "non")
|
6 |
|
7 |
-
#Notice that json generation with LLM is still challenging due to unpredictable behavior.
|
8 |
-
#Some library like marginalia ensures the output will always be json compliant: https://github.com/Pleias/marginalia
|
9 |
-
|
10 |
-
#A typical exemple:
|
11 |
-
|
12 |
-
#{
|
13 |
-
# "analysis":"La question concerne un formulaire spécifique, le formulaire A36. Il est donc probable que des références encyclopédiques soient nécessaires pour fournir des informations précises sur ce formulaire.",
|
14 |
-
# "result":"oui"
|
15 |
-
#}
|
16 |
-
|
17 |
|
18 |
import sys, os
|
19 |
from pprint import pprint
|
|
|
4 |
##A short analysis with reasoning.
|
5 |
##A boolean answer in French ("oui" or "non")
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
import sys, os
|
9 |
from pprint import pprint
|