Spaces:
Running
Running
Déploiement automatique depuis GitLab CI
Browse files- .gitattributes +2 -0
- Dockerfile +3 -0
- Docs/Logo_FAISS.png +3 -0
- Docs/Logo_MistralAI.png +0 -0
- Docs/Logo_PostgreSQL.png +3 -0
- MistralChat.py +23 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
inputs/regular[[:space:]]NBA_Corr_Sql.xlsx filter=lfs diff=lfs merge=lfs -text
|
| 37 |
vector_db/faiss_index.idx filter=lfs diff=lfs merge=lfs -text
|
| 38 |
wheels/mistralai-1.12.4-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 36 |
inputs/regular[[:space:]]NBA_Corr_Sql.xlsx filter=lfs diff=lfs merge=lfs -text
|
| 37 |
vector_db/faiss_index.idx filter=lfs diff=lfs merge=lfs -text
|
| 38 |
wheels/mistralai-1.12.4-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Docs/Logo_FAISS.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Docs/Logo_PostgreSQL.png filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
CHANGED
|
@@ -66,6 +66,9 @@ COPY --chown=user:user utils/config.py utils/langgraph_app.py utils/sql_tool.py
|
|
| 66 |
COPY --chown=user:user vector_db/ ./vector_db/
|
| 67 |
COPY --chown=user:user inputs/ ./inputs/
|
| 68 |
|
|
|
|
|
|
|
|
|
|
| 69 |
# --- Scripts SQL d'initialisation ------------------------------------------
|
| 70 |
COPY --chown=user:user SQL_db/schema_relationnel_sql.sql ./sql/01_schema.sql
|
| 71 |
|
|
|
|
| 66 |
COPY --chown=user:user vector_db/ ./vector_db/
|
| 67 |
COPY --chown=user:user inputs/ ./inputs/
|
| 68 |
|
| 69 |
+
# --- Logos (utilisés par Streamlit en tête de page) -----------------------
|
| 70 |
+
COPY --chown=user:user Docs/Logo_MistralAI.png Docs/Logo_FAISS.png Docs/Logo_PostgreSQL.png ./Docs/
|
| 71 |
+
|
| 72 |
# --- Scripts SQL d'initialisation ------------------------------------------
|
| 73 |
COPY --chown=user:user SQL_db/schema_relationnel_sql.sql ./sql/01_schema.sql
|
| 74 |
|
Docs/Logo_FAISS.png
ADDED
|
Git LFS Details
|
Docs/Logo_MistralAI.png
ADDED
|
Docs/Logo_PostgreSQL.png
ADDED
|
Git LFS Details
|
MistralChat.py
CHANGED
|
@@ -169,6 +169,29 @@ graph = get_langgraph(vector_store_manager)
|
|
| 169 |
# Interface Utilisateur Streamlit
|
| 170 |
# ==============================
|
| 171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
st.title(APP_TITLE)
|
| 173 |
st.caption(f"Assistant virtuel pour {NAME} | Modèle: {MODEL_NAME}")
|
| 174 |
|
|
|
|
| 169 |
# Interface Utilisateur Streamlit
|
| 170 |
# ==============================
|
| 171 |
|
| 172 |
+
# --- Logos en tête ---
|
| 173 |
+
col_logo1, col_logo2, col_logo3 = st.columns([1, 1, 1])
|
| 174 |
+
with col_logo1:
|
| 175 |
+
st.image(
|
| 176 |
+
"Docs/Logo_MistralAI.png",
|
| 177 |
+
caption="Mistral AI",
|
| 178 |
+
use_container_width=True,
|
| 179 |
+
)
|
| 180 |
+
with col_logo2:
|
| 181 |
+
st.image(
|
| 182 |
+
"Docs/Logo_FAISS.png",
|
| 183 |
+
caption="RAG (FAISS / LangGraph)",
|
| 184 |
+
use_container_width=True,
|
| 185 |
+
)
|
| 186 |
+
with col_logo3:
|
| 187 |
+
st.image(
|
| 188 |
+
"Docs/Logo_PostgreSQL.png",
|
| 189 |
+
caption="SQL (PostgreSQL)",
|
| 190 |
+
use_container_width=True,
|
| 191 |
+
)
|
| 192 |
+
|
| 193 |
+
st.divider()
|
| 194 |
+
|
| 195 |
st.title(APP_TITLE)
|
| 196 |
st.caption(f"Assistant virtuel pour {NAME} | Modèle: {MODEL_NAME}")
|
| 197 |
|