samarthya-bot 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,6 +90,26 @@ npm run dev
|
|
|
90
90
|
|
|
91
91
|
---
|
|
92
92
|
|
|
93
|
+
## ⚙️ Environment Variables
|
|
94
|
+
|
|
95
|
+
If you are running from source or manual setup, create a `.env` file in the `backend/` directory.
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# Required
|
|
99
|
+
GEMINI_API_KEY=your_gemini_api_key_here
|
|
100
|
+
MEMORY_ENCRYPTION_KEY=your_32_char_secret_key
|
|
101
|
+
|
|
102
|
+
# Optional
|
|
103
|
+
MONGO_URI=mongodb://localhost:27017/samarthya
|
|
104
|
+
PORT=5000
|
|
105
|
+
USE_OLLAMA=false
|
|
106
|
+
ACTIVE_PROVIDER=gemini # or ollama
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
*Note: The `samarthya onboard` command handles these for you automatically!*
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
93
113
|
## 🔌 Developing Plugins
|
|
94
114
|
|
|
95
115
|
Giving your AI a new Superpower is simple. Create a `.js` file in your plugins directory:
|