viti / HOW_TO.md
ionosphere's picture
Update list
34b569d

A newer version of the Streamlit SDK is available: 1.43.2

Upgrade

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://lightning.ai/maxidiazbattan/studios/rag-streamlit-llamaindex-ollama?tab=files&layout=column&path=cloudspaces%2F01hwfjrdss66hkje94vb7enf15&y=2&x=0

https://medium.com/@sindhu.madicherla/rag-chatbot-using-chromadb-llamaindex-open-ai-and-streamlit-d3fb87df415f

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')