Upload 3 files
Browse filesadd prompt template files
- experience_prompt_template.jinja +10 -0
- expert_prompt_template.jinja +15 -0
- simple_prompt_template.jinja +10 -0
experience_prompt_template.jinja
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Mode expérience
|
2 |
+
|
3 |
+
Question soumise au service {% if institution %}{{institution}} {% endif %}: {{query}}
|
4 |
+
|
5 |
+
{% for chunk in experience_chunks %}
|
6 |
+
{{chunk.id_experience}} : {{chunk.description}}
|
7 |
+
{% endfor %}
|
8 |
+
|
9 |
+
###Réponse :
|
10 |
+
|
expert_prompt_template.jinja
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Mode expert
|
2 |
+
|
3 |
+
Expérience: {{query}}
|
4 |
+
|
5 |
+
Réponse: {{most_similar_experience}}
|
6 |
+
|
7 |
+
Fiches:
|
8 |
+
|
9 |
+
{% for chunk in sheet_chunks %}
|
10 |
+
{{chunk.url}} : {{chunk.title}} {% if chunk.context %}({{chunk.context}}){% endif %}
|
11 |
+
{{chunk.text}} {% if not loop.last %}{{"\n"}}{% endif %}
|
12 |
+
{% endfor %}
|
13 |
+
|
14 |
+
###Réponse :
|
15 |
+
|
simple_prompt_template.jinja
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Mode expérience
|
2 |
+
|
3 |
+
Question soumise au service {% if institution %}{{institution}} {% endif %}: {{query}}
|
4 |
+
|
5 |
+
{% if context or links %}{{"\n"}}
|
6 |
+
Prompt:{% if context %}{{context}}{% endif %}{% if links %}{{links}}{% endif %}
|
7 |
+
{% endif %}
|
8 |
+
|
9 |
+
###Réponse :
|
10 |
+
|