A newer version of the Streamlit SDK is available:
1.43.2
INSTALLING
Clone the project in a local folder 'viti'
Go to the project folder
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Test the installation
streamlit run app.py
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
TODO 14/11/2024
Aligner les données Référencia avec la liste des millésimes
Ajouter les docs Champagne
Ajouter un champ valeur de l'indicateur selectionné
Préparer le prompt systeme
Ajouter les questions par rapport à la valeur de l'indicateur
REF
https://github.com/couchbase-examples/rag-demo-llama-index/blob/main/chat_with_pdf.py
https://github.com/jacttp/simpleRAG/blob/main/rag.py
https://github.com/naimkatiman/RAG-using-Llama-3.1-WebUi-on-Streamlit/blob/main/app.py
DELETING PINECONE INDEX
python
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
get the host
pc.describe_index("agir-agri")
index = pc.Index(host="INDEX_HOST")
index.delete(delete_all=True, namespace='viti')