Configuration
SpectraSherpa works out-of-the-box with zero configuration. However, you can customize data storage and enable optional AI features.
Data Storage
By default, all your data is stored in your home directory:
~/.spectra_sherpa/
├── spectra_platform.db # Your local database
├── experiments/ # Uploaded files and results
├── calibrations/ # Saved models
└── nist_library/ # Downloaded reference spectra
To use a different location (e.g., an external drive), use the --data-dir flag:
spectra-sherpa --data-dir /Volumes/ExternalDrive/SherpaData
Enabling AI Features (Optional)
To use the Workflow Assistant (LLM) or NIST Library Search, you need to enable network access and provide API keys.
-
Create a
.envfile in the folder where you runspectra-sherpa:```bash
.env
EGRESS_ENABLED=true
Add your LLM key (only one provider needed)
DEEPSEEK_API_KEY=sk-... ```
-
Restart the application.
-
Alternatively, you can add keys directly in the UI under Settings > API Keys.
Privacy Note: In Local Mode, your API keys are stored encrypted on your machine. Data is only sent to the AI provider when you explicitly use an AI feature (like "Ask Sherpa").