FloatChat is an AI-powered conversational interface for exploring ARGO float oceanographic data. It allows users to query, explore, and visualize oceanographic information using natural language.
- Chatbot-style interface with ChatGPT-style bubbles
- Floating input at the bottom for easy conversation
- Interactive visualizations:
- Float locations on a map
- Pressure and other parameter time-series
- Backend:
- PostgreSQL for structured ARGO data
- ChromaDB for vector search and metadata retrieval
- Retrieval-Augmented Generation (RAG) for natural language query handling
- Python 3.x
- Streamlit β Frontend dashboard and chat interface
- Plotly & Leaflet β Interactive plots and maps
- PostgreSQL β Structured ARGO dataset
- ChromaDB β Vector database for semantic search
- Flan-T5 / Local LLM β Query interpretation
Try the following queries in the chat interface:
- Show me the temperature and pressure profiles of ARGO floats near the equator.
- Compare salinity levels in the Arabian Sea and Bay of Bengal over the last 6 months.
- What are the nearest ARGO floats to latitude 10Β°N and longitude 75Β°E?
- Show me pressure vs depth for floats in the Indian Ocean.
- Plot the pressure trends of ARGO floats in March 2023.
floatchat/ ββ front_end/ # Streamlit app and CSS ββ utils/ # Visualization utilities ββ backend.py # LLM query handling and RAG ββ db_config.py # PostgreSQL & ChromaDB connections ββ requirements.txt # Python dependencies ββ .env # Environment variables
yaml Copy code
- Activate your virtual environment: & D:/my_project/venv/Scripts/Activate.ps1 Run the Streamlit app:
bash Copy code cd D:\floatchat streamlit run front_end/app.py Open in your browser: http://localhost:8501/
π Notes Demo uses a subset of 500 ARGO floats for speed.
Designed for internal hackathon PoC.
Fully functional chat + inline visualizations for Indian Ocean ARGO dataset.
π Future Work Full ARGO dataset integration
Additional BGC and satellite data
Enhanced RAG pipeline for advanced queries
Improved UI/UX and multi-modal visualizations
π License This README is hackathon-ready, shows all the features, instructions, and tech stack, and looks professional for HR viewing.