Ilyas KHIAT commited on
Commit
6402624
·
1 Parent(s): e713bf2
Files changed (2) hide show
  1. audit_page/dialogue_doc.py +1 -1
  2. requirements.txt +3 -2
audit_page/dialogue_doc.py CHANGED
@@ -264,7 +264,7 @@ def doc_dialog_main():
264
  with st.spinner("Synthétisation des informations..."):
265
  if st.session_state.cr == "":
266
  st.session_state.cr = generate_structured_response(prompt_cr2)
267
- entete = st.session_state.cr.summary
268
 
269
 
270
  with st.spinner("Construction du graphe de connaissance..."):
 
264
  with st.spinner("Synthétisation des informations..."):
265
  if st.session_state.cr == "":
266
  st.session_state.cr = generate_structured_response(prompt_cr2)
267
+ entete = f"**RESUME:** {st.session_state.cr.summary} \n **MOTS CLES:** {keywords_list}"
268
 
269
 
270
  with st.spinner("Construction du graphe de connaissance..."):
requirements.txt CHANGED
@@ -19,9 +19,10 @@ langchain-mistralai
19
  faiss-cpu
20
  langchain-community
21
  python-dotenv
 
22
  langchain-experimental
23
  neo4j==5.24.0
24
  streamlit-agraph
25
  st-copy-to-clipboard
26
- itext2kg
27
-
 
19
  faiss-cpu
20
  langchain-community
21
  python-dotenv
22
+ pydantic==2.9.2
23
  langchain-experimental
24
  neo4j==5.24.0
25
  streamlit-agraph
26
  st-copy-to-clipboard
27
+ itext2kg==0.0.7
28
+ httpx==0.27.2