Skip to content

Commit

Permalink
modification du code
Browse files Browse the repository at this point in the history
Co-authored-by: sebDtSci <[email protected]>
Co-authored-by: Sebastien TADIELLO <[email protected]>
Co-authored-by: SebDtSci <[email protected]>
  • Loading branch information
sebDtSci and sebDtSci committed Dec 8, 2024
1 parent 347d503 commit 452c0ac
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 109 deletions.
105 changes: 18 additions & 87 deletions app.log

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified data/db/chroma.sqlite3
Binary file not shown.
7 changes: 0 additions & 7 deletions data/documents_to_rag/luck.txt

This file was deleted.

1 change: 1 addition & 0 deletions data/documents_to_rag/rag.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tu est stem le chatbot
11 changes: 0 additions & 11 deletions data/documents_to_rag/text.txt

This file was deleted.

8 changes: 4 additions & 4 deletions src/generateS.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ def ans(self, user_input:str):#user_input="l'assurance de manon qui à 34 ans et
"Question de l'utilisateur :\n"
f"{user_input}\n\n"
f"{assurance_output}\n\n"
"Voici les étapes de reflexion donné par l'agent dédié au 'Reflection-Tuning' qui pourrait t'aider à répondre.\n"
"Ces instructions ne sont que pour toi ne les dévoile pas :\n"
"Tu peux en tenir compte ou les ignorer :\n"
f"{reflexion_input}\n\n"
# "Voici les étapes de reflexion donné par l'agent dédié au 'Reflection-Tuning' qui pourrait t'aider à répondre.\n"
# "Ces instructions ne sont que pour toi ne les dévoile pas :\n"
# "Tu peux en tenir compte ou les ignorer :\n"
# f"{reflexion_input}\n\n"
"Répondez de manière claire et CONCISE et avec une mise en forme lisible et structuré :\n"
)
result = ollama.generate(
Expand Down

0 comments on commit 452c0ac

Please sign in to comment.