CMRAgent is an AI agent that interfaces with NASA's Common Metadata Repository(CMR) using natural language commands
Note: This project was developed using python version 3.12.4
- Create a virtual environment:
virtualenv venv - Activate the virtual environment:
. venv/bin/activate - Install required dependencies:
pip install -r requirements.txt - Run the web based app:
cd src && streamlit run app.py - Run app in cli:
cd src && python main.py
If you have make installed:
make install: Creates an virtualenv and installs all dependenciesmake run: Run's streamlit applicationmake cli: Run the cli interfacemake clean: Removes virtualenv
Note: Create an .env file from the .env.sample file and update your OPENAI credentials before running the app
- Natural language queries for NASA CMR.
- Search through collections
- Supported query params: temporal, spatial and keyword based search
- Search through granules using collection id
- Supports multi-conversations: Ask followup on questions or for granules for a particular collection
- CLI and web-based (Streamlit) interface options.
- View debug logs in Streamlit application