drift-ml 0.1.11__tar.gz → 0.2.2__tar.gz

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.
Files changed (25) hide show
  1. drift_ml-0.2.2/LICENSE +21 -0
  2. drift_ml-0.2.2/PKG-INFO +10 -0
  3. drift_ml-0.2.2/README.md +79 -0
  4. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/__main__.py +1 -1
  5. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/engine_launcher.py +58 -72
  6. drift_ml-0.2.2/drift_ml.egg-info/PKG-INFO +10 -0
  7. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift_ml.egg-info/SOURCES.txt +1 -0
  8. {drift_ml-0.1.11 → drift_ml-0.2.2}/pyproject.toml +6 -2
  9. drift_ml-0.1.11/PKG-INFO +0 -6
  10. drift_ml-0.1.11/README.md +0 -186
  11. drift_ml-0.1.11/drift_ml.egg-info/PKG-INFO +0 -6
  12. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/__init__.py +0 -0
  13. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/cli/__init__.py +0 -0
  14. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/cli/client.py +0 -0
  15. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/cli/repl.py +0 -0
  16. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/cli/session.py +0 -0
  17. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/llm_adapters/__init__.py +0 -0
  18. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/llm_adapters/base.py +0 -0
  19. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/llm_adapters/gemini_cli.py +0 -0
  20. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift/llm_adapters/local_llm.py +0 -0
  21. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift_ml.egg-info/dependency_links.txt +0 -0
  22. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift_ml.egg-info/entry_points.txt +0 -0
  23. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift_ml.egg-info/requires.txt +0 -0
  24. {drift_ml-0.1.11 → drift_ml-0.2.2}/drift_ml.egg-info/top_level.txt +0 -0
  25. {drift_ml-0.1.11 → drift_ml-0.2.2}/setup.cfg +0 -0
drift_ml-0.2.2/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Lakshit Sachdeva
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,10 @@
1
+ Metadata-Version: 2.4
2
+ Name: drift-ml
3
+ Version: 0.2.2
4
+ Summary: drift — terminal-first, chat-based AutoML. Open source. No tokens. No auth.
5
+ Project-URL: Homepage, https://github.com/lakshitsachdeva/intent2model
6
+ Project-URL: Repository, https://github.com/lakshitsachdeva/intent2model
7
+ Requires-Python: >=3.10
8
+ License-File: LICENSE
9
+ Requires-Dist: requests>=2.28.0
10
+ Dynamic: license-file
@@ -0,0 +1,79 @@
1
+ # drift
2
+
3
+ **Terminal-first, chat-based AutoML.** Open source. No tokens. No auth.
4
+
5
+ ---
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pipx install drift-ml
11
+ ```
12
+
13
+ Or:
14
+
15
+ ```bash
16
+ npm install -g drift-ml
17
+ ```
18
+
19
+ (Both require `pipx install drift-ml` for the Python CLI.)
20
+
21
+ ---
22
+
23
+ ## Run
24
+
25
+ ```bash
26
+ drift
27
+ ```
28
+
29
+ On first run, drift downloads and starts the engine automatically. No backend setup. No config. No tokens.
30
+
31
+ ---
32
+
33
+ ## How it works
34
+
35
+ - **Local-first** — Engine runs on your machine. Data never leaves.
36
+ - **Chat-based** — `load data.csv`, `predict price`, `try something stronger`
37
+ - **Auto-start** — Engine downloads and starts in the background. You never start a backend manually.
38
+ - **No auth** — No API keys for drift. (You need an LLM for training: Ollama, Gemini CLI, etc.)
39
+
40
+ ---
41
+
42
+ ## Example
43
+
44
+ ```text
45
+ drift › load iris.csv
46
+ drift › predict variety
47
+ drift › try something stronger
48
+ drift › quit
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Philosophy
54
+
55
+ drift should feel like `git`, `docker`, `brew` — a tool you trust immediately. Zero friction. Open source.
56
+
57
+ ---
58
+
59
+ ## Web UI (optional)
60
+
61
+ This repo also includes a web UI. For development:
62
+
63
+ ```bash
64
+ ./start.sh
65
+ ```
66
+
67
+ Then open http://localhost:3000
68
+
69
+ ---
70
+
71
+ ## Contributing
72
+
73
+ See [CONTRIBUTING.md](CONTRIBUTING.md).
74
+
75
+ ---
76
+
77
+ ## License
78
+
79
+ MIT
@@ -19,7 +19,7 @@ def main() -> None:
19
19
  from drift.engine_launcher import ensure_engine
20
20
 
21
21
  if not ensure_engine():
22
- print("drift: Failed to start engine. Set DRIFT_BACKEND_URL or run: npm install -g drift-ml", file=sys.stderr)
22
+ print("drift: Failed to start engine. Check ~/.drift/bin/.engine-stderr.log or set DRIFT_BACKEND_URL", file=sys.stderr)
23
23
  sys.exit(1)
24
24
  base_url = f"http://127.0.0.1:{os.environ.get('DRIFT_ENGINE_PORT', '8000')}"
25
25
  run_repl(base_url=base_url)
@@ -1,11 +1,10 @@
1
1
  """
2
2
  Download and start the drift engine binary when no backend is running.
3
- Makes pipx install drift-ml work standalone (no npm needed).
3
+ Open source no tokens, no auth. Downloads from public GitHub Releases.
4
4
  """
5
5
 
6
6
  import os
7
7
  import platform
8
- import shutil
9
8
  import subprocess
10
9
  import sys
11
10
  from pathlib import Path
@@ -16,9 +15,8 @@ try:
16
15
  except ImportError:
17
16
  requests = None
18
17
 
19
- ENGINE_TAG = "v0.1.4"
20
- GITHUB_REPO = "lakshitsachdeva/drift"
21
- GITHUB_API = f"https://api.github.com/repos/{GITHUB_REPO}/releases/tags/{ENGINE_TAG}"
18
+ GITHUB_REPO = "lakshitsachdeva/drift" # Engine binaries (v0.2.0+ also in intent2model)
19
+ ENGINE_TAG = "v0.2.0" # Pinned — direct URL, no API, no rate limits
22
20
  ENGINE_PORT = os.environ.get("DRIFT_ENGINE_PORT", "8000")
23
21
  HEALTH_URL = f"http://127.0.0.1:{ENGINE_PORT}/health"
24
22
 
@@ -60,47 +58,26 @@ def _engine_running() -> bool:
60
58
  return False
61
59
 
62
60
 
63
- def _get_asset_download_url(asset_name: str) -> str:
64
- """Resolve GitHub release asset to download URL. Prefer direct URL (no API)."""
61
+ def _get_asset_url(asset_name: str) -> str:
62
+ """Direct download URL. No API avoids rate limits."""
65
63
  base = os.environ.get("DRIFT_ENGINE_BASE_URL")
66
64
  if base:
67
65
  return f"{base.rstrip('/')}/{asset_name}"
68
66
  return f"https://github.com/{GITHUB_REPO}/releases/download/{ENGINE_TAG}/{asset_name}"
69
67
 
70
68
 
71
- def _get_asset_download_url_via_api(asset_name: str) -> str:
72
- """Fallback: get URL via GitHub API (for private repos)."""
73
- token = os.environ.get("DRIFT_GITHUB_TOKEN") or os.environ.get("GITHUB_TOKEN")
74
- headers = {
75
- "User-Agent": "Drift-Engine-Launcher/1.0",
76
- "Accept": "application/vnd.github+json",
77
- }
78
- if token:
79
- headers["Authorization"] = f"Bearer {token}"
80
- r = requests.get(GITHUB_API, headers=headers, timeout=15)
81
- if r.status_code == 404:
82
- raise RuntimeError(
83
- f"Release {ENGINE_TAG} not found. "
84
- "If the repo is private, set DRIFT_GITHUB_TOKEN with repo read access."
85
- )
86
- r.raise_for_status()
87
- data = r.json()
88
- for a in data.get("assets", []):
89
- if a.get("name") == asset_name:
90
- url = a.get("browser_download_url") or a.get("url")
91
- if url:
92
- return url
93
- raise RuntimeError(f"Asset {asset_name} not found in release {ENGINE_TAG}")
94
-
95
-
96
69
  def _download_file(url: str, dest: Path) -> None:
97
70
  dest.parent.mkdir(parents=True, exist_ok=True)
98
- token = os.environ.get("DRIFT_GITHUB_TOKEN") or os.environ.get("GITHUB_TOKEN")
99
- headers = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"}
100
- if "api.github.com" in url:
101
- headers["Accept"] = "application/octet-stream"
102
- if token:
103
- headers["Authorization"] = f"Bearer {token}"
71
+ headers = {"User-Agent": "Drift/1.0"}
72
+
73
+ def try_curl():
74
+ result = subprocess.run(
75
+ ["curl", "-fsSL", "-o", str(dest), url],
76
+ capture_output=True,
77
+ timeout=120,
78
+ )
79
+ if result.returncode != 0:
80
+ raise RuntimeError("curl failed")
104
81
 
105
82
  def try_requests():
106
83
  r = requests.get(url, headers=headers, stream=True, timeout=60)
@@ -116,40 +93,28 @@ def _download_file(url: str, dest: Path) -> None:
116
93
  with open(dest, "wb") as f:
117
94
  f.write(resp.read())
118
95
 
119
- def try_curl():
120
- result = subprocess.run(
121
- ["curl", "-fsSL", "-o", str(dest), url],
122
- capture_output=True,
123
- timeout=120,
124
- )
125
- if result.returncode != 0:
126
- raise RuntimeError(f"curl failed: {result.stderr.decode() or result.returncode}")
127
-
128
96
  for attempt in [try_curl, try_requests, try_urllib]:
129
97
  try:
130
98
  attempt()
131
99
  return
132
100
  except Exception:
133
101
  continue
134
- raise RuntimeError(f"Download failed. Try manually: curl -L -o {dest} {url}")
102
+ raise RuntimeError(f"Download failed. Try: curl -L -o {dest} {url}")
135
103
 
136
104
 
137
105
  def ensure_engine() -> bool:
138
- """
139
- If engine not running: download (if needed), start it, wait for health.
140
- Returns True if engine is ready, False on failure.
141
- """
106
+ """Download (if needed), start engine, wait for health."""
142
107
  if _engine_running():
143
108
  return True
144
109
 
145
110
  if not requests:
146
- print("drift: 'requests' required for engine download. pip install requests", file=sys.stderr)
111
+ print("drift: 'requests' required. pip install requests", file=sys.stderr)
147
112
  return False
148
113
 
149
114
  bin_path = _get_engine_path()
150
115
  bin_dir = _get_engine_dir()
151
116
  if not bin_path or not bin_dir:
152
- print("drift: Could not resolve engine dir (~/.drift/bin). Set HOME or USERPROFILE.", file=sys.stderr)
117
+ print("drift: Could not resolve ~/.drift/bin. Set HOME or USERPROFILE.", file=sys.stderr)
153
118
  return False
154
119
 
155
120
  bin_dir.mkdir(parents=True, exist_ok=True)
@@ -159,14 +124,12 @@ def ensure_engine() -> bool:
159
124
  ext = ".exe" if platform.system() == "Windows" else ""
160
125
  asset = f"drift-engine-{plat}-{arch}{ext}"
161
126
  print(f"drift: Downloading engine ({asset})...", file=sys.stderr)
162
- url = _get_asset_download_url(asset)
163
127
  try:
128
+ url = _get_asset_url(asset)
164
129
  _download_file(url, bin_path)
165
130
  except Exception as e:
166
131
  print(f"drift: Download failed: {e}", file=sys.stderr)
167
- print(f"drift: Run this manually, then try again:", file=sys.stderr)
168
- print(f" mkdir -p ~/.drift/bin && curl -L -o ~/.drift/bin/{asset} {url}", file=sys.stderr)
169
- print(f" chmod +x ~/.drift/bin/{asset}", file=sys.stderr)
132
+ print(f"drift: Run: mkdir -p ~/.drift/bin && curl -L -o ~/.drift/bin/{asset} <url>", file=sys.stderr)
170
133
  return False
171
134
  if platform.system() != "Windows":
172
135
  bin_path.chmod(0o755)
@@ -176,23 +139,46 @@ def ensure_engine() -> bool:
176
139
  except Exception:
177
140
  pass
178
141
 
179
- # Start engine
142
+ if platform.system() == "Darwin" and bin_path:
143
+ try:
144
+ bin_path.chmod(0o755)
145
+ subprocess.run(["xattr", "-dr", "com.apple.quarantine", str(bin_path)], check=False, capture_output=True)
146
+ except Exception:
147
+ pass
148
+
180
149
  env = {**os.environ, "DRIFT_ENGINE_PORT": ENGINE_PORT}
181
- proc = subprocess.Popen(
182
- [str(bin_path)],
183
- cwd=str(bin_dir),
184
- env=env,
185
- stdout=subprocess.DEVNULL,
186
- stderr=subprocess.DEVNULL,
187
- start_new_session=True,
188
- )
189
- proc.wait() # wait briefly to avoid race
190
- del proc
191
-
192
- # Poll for health
150
+ stderr_file = bin_dir / ".engine-stderr.log"
151
+ proc = None
152
+ try:
153
+ with open(stderr_file, "w") as errf:
154
+ proc = subprocess.Popen(
155
+ [str(bin_path)],
156
+ cwd=str(bin_dir),
157
+ env=env,
158
+ stdout=subprocess.DEVNULL,
159
+ stderr=errf,
160
+ start_new_session=True,
161
+ )
162
+ try:
163
+ proc.wait(timeout=3)
164
+ if proc.returncode and proc.returncode != 0:
165
+ err = stderr_file.read_text().strip() if stderr_file.exists() else ""
166
+ print(f"drift: Engine exited with code {proc.returncode}", file=sys.stderr)
167
+ if err:
168
+ print(f"drift: {err[-400:]}", file=sys.stderr)
169
+ return False
170
+ except subprocess.TimeoutExpired:
171
+ pass # Engine still running
172
+ except Exception as e:
173
+ print(f"drift: Engine spawn failed: {e}", file=sys.stderr)
174
+ return False
175
+
176
+ import time
193
177
  for _ in range(60):
194
178
  if _engine_running():
195
179
  return True
196
- import time
197
180
  time.sleep(0.5)
181
+ err = stderr_file.read_text().strip() if stderr_file.exists() else ""
182
+ if err:
183
+ print(f"drift: Engine log: {err[-400:]}", file=sys.stderr)
198
184
  return False
@@ -0,0 +1,10 @@
1
+ Metadata-Version: 2.4
2
+ Name: drift-ml
3
+ Version: 0.2.2
4
+ Summary: drift — terminal-first, chat-based AutoML. Open source. No tokens. No auth.
5
+ Project-URL: Homepage, https://github.com/lakshitsachdeva/intent2model
6
+ Project-URL: Repository, https://github.com/lakshitsachdeva/intent2model
7
+ Requires-Python: >=3.10
8
+ License-File: LICENSE
9
+ Requires-Dist: requests>=2.28.0
10
+ Dynamic: license-file
@@ -1,3 +1,4 @@
1
+ LICENSE
1
2
  README.md
2
3
  pyproject.toml
3
4
  drift/__init__.py
@@ -4,13 +4,17 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "drift-ml"
7
- version = "0.1.11"
8
- description = "Terminal-first AutoML CLI - chat-based ML engineer"
7
+ version = "0.2.2"
8
+ description = "drift terminal-first, chat-based AutoML. Open source. No tokens. No auth."
9
9
  requires-python = ">=3.10"
10
10
  dependencies = [
11
11
  "requests>=2.28.0",
12
12
  ]
13
13
 
14
+ [project.urls]
15
+ Homepage = "https://github.com/lakshitsachdeva/intent2model"
16
+ Repository = "https://github.com/lakshitsachdeva/intent2model"
17
+
14
18
  [project.scripts]
15
19
  drift = "drift.__main__:main"
16
20
 
drift_ml-0.1.11/PKG-INFO DELETED
@@ -1,6 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: drift-ml
3
- Version: 0.1.11
4
- Summary: Terminal-first AutoML CLI - chat-based ML engineer
5
- Requires-Python: >=3.10
6
- Requires-Dist: requests>=2.28.0
drift_ml-0.1.11/README.md DELETED
@@ -1,186 +0,0 @@
1
- # Intent2Model 🚀
2
-
3
- LLM-Guided AutoML Agent - Upload a CSV, chat with the AI, get a trained model.
4
-
5
- ## ⚡ Quick Start (Easiest Way)
6
-
7
- ```bash
8
- # Make scripts executable (first time only)
9
- chmod +x start.sh stop.sh
10
-
11
- # Start everything
12
- ./start.sh
13
- ```
14
-
15
- Then open **http://localhost:3000** in your browser!
16
-
17
- To stop: Press `Ctrl+C` or run `./stop.sh`
18
-
19
- ---
20
-
21
- ## 📖 How to Use
22
-
23
- ### 1. Upload CSV
24
- - Drag & drop your CSV file or click "choose file"
25
- - System analyzes it automatically
26
-
27
- ### 2. Train Model
28
- Just type a column name in the chat:
29
- - **"variety"** → trains model to predict "variety"
30
- - **"price"** → trains model to predict "price"
31
- - Or any column name from your dataset
32
-
33
- ### 3. View Results
34
- - **"report"** → shows beautiful charts and metrics
35
- - **"show me results"** → displays model performance
36
-
37
- ### 4. Make Predictions
38
- - **"predict"** or **"can you predict for me?"** → starts prediction flow
39
- - Provide feature values: **"sepal.length: 5.1, sepal.width: 3.5"**
40
-
41
- ---
42
-
43
- ## 💬 Example Conversation
44
-
45
- ```
46
- You: [uploads iris.csv]
47
- AI: ✓ analyzed your dataset • 150 rows • 5 columns
48
- AI: suggested targets: variety, sepal.length, sepal.width
49
-
50
- You: variety
51
- AI: 🚀 training model to predict "variety"...
52
- AI: ✅ model trained successfully!
53
- AI: accuracy: 1.000 • best model: RandomForest
54
- AI: [shows charts]
55
-
56
- You: report
57
- AI: [shows detailed charts: metrics, feature importance, CV scores]
58
-
59
- You: predict
60
- AI: sure! i need: sepal.length, sepal.width, petal.length, petal.width
61
-
62
- You: sepal.length: 5.1, sepal.width: 3.5, petal.length: 1.4, petal.width: 0.2
63
- AI: 🎯 prediction: Setosa
64
- AI: probabilities: Setosa 99.8%, Versicolor 0.2%, Virginica 0.0%
65
- ```
66
-
67
- ---
68
-
69
- ## 🛠️ Manual Setup (Alternative)
70
-
71
- ### Backend
72
- **Important:** Always run uvicorn from inside the `backend/` folder. Running from project root will fail with "Could not import module main".
73
-
74
- ```bash
75
- cd backend
76
- pip install -r ../requirements.txt
77
- # Optional: set API key in .env or export GEMINI_API_KEY=your_key
78
- python3 -m uvicorn main:app --host 0.0.0.0 --port 8000 --reload
79
- ```
80
-
81
- Or use the helper script (from project root):
82
- ```bash
83
- chmod +x backend/run.sh
84
- ./backend/run.sh
85
- ```
86
-
87
- **Backend nahi chal raha?**
88
- - **"Could not import module main"** → You're in the wrong folder. Run `cd backend` first, then `python3 -m uvicorn main:app --host 0.0.0.0 --port 8000`.
89
- - **"Address already in use" / port 8000** → Free the port: `lsof -ti:8000 | xargs kill -9`, then start again.
90
- - **Dependencies missing** → From project root: `pip install -r requirements.txt` (or use `./start.sh` — it creates a venv and installs deps).
91
-
92
- ### Frontend (New Terminal)
93
- ```bash
94
- cd frontend
95
- npm install
96
- npm run dev
97
- ```
98
-
99
- Visit **http://localhost:3000**
100
-
101
- ---
102
-
103
- ## 🎨 Features
104
-
105
- - 📊 **Beautiful Charts**: Metrics, feature importance, CV scores
106
- - 🎨 **Extravagant UI**: Gradient colors, smooth animations
107
- - 🤖 **LLM-Powered**: Gemini AI generates optimal pipelines
108
- - 🔮 **Smart Predictions**: Chat-based prediction interface
109
- - 📈 **Model Comparison**: Tries multiple models, picks best
110
- - ⚡ **Auto-Detection**: Automatically detects task type and metrics
111
-
112
- ---
113
-
114
- ## 📝 Requirements
115
-
116
- - Python 3.10+
117
- - Node.js 18+
118
- - npm/yarn
119
-
120
- Install dependencies:
121
- ```bash
122
- # Backend
123
- pip install -r requirements.txt
124
-
125
- # Frontend
126
- cd frontend
127
- npm install
128
- ```
129
-
130
- ---
131
-
132
- ## 🐛 Troubleshooting
133
-
134
- **Services not starting?**
135
- - Check ports: `lsof -i :8000` and `lsof -i :3000`
136
- - Check logs: `tail -f backend.log` or `tail -f frontend.log`
137
-
138
- **Training errors?**
139
- - Make sure CSV has valid data
140
- - Check that target column exists
141
- - Try a different column name
142
-
143
- ---
144
-
145
- ## drift — Terminal-first CLI
146
-
147
- **drift** by Lakshit Sachdeva. Terminal-first, chat-based AutoML — same engine as the web UI. No commands to memorize.
148
-
149
- ### Exactly what to do (any computer)
150
-
151
- 1. **Install drift** (pick one):
152
- ```bash
153
- npm install -g drift-ml
154
- ```
155
- or:
156
- ```bash
157
- pipx install drift
158
- ```
159
-
160
- 2. **Run drift:**
161
- ```bash
162
- drift
163
- ```
164
- You’ll see the welcome and step-by-step instructions in the terminal.
165
-
166
- 3. **Engine** — On first run the CLI downloads and starts the drift engine locally (or set `DRIFT_BACKEND_URL` to a running engine). You need an LLM: Gemini CLI, Ollama, or another local LLM.
167
-
168
- 4. **In drift:** type `load path/to/your.csv`, then chat (e.g. `predict price`, `try something stronger`). Type `quit` to exit.
169
-
170
- drift shows you the rest when you run it.
171
-
172
- ### Install (details)
173
-
174
- - **Local-first** — Same engine as the web app; planning and training run on your machine.
175
- - **Chat-based**: e.g. `load iris.csv`, `predict price`, `try something stronger`, `why is accuracy capped`.
176
- - **Engine** runs locally (CLI auto-starts it or use `DRIFT_BACKEND_URL`). Web UI can be hosted on Vercel.
177
-
178
- ---
179
-
180
- ## 📚 More Info
181
-
182
- See `HOW_TO_USE.md` for detailed instructions and examples.
183
-
184
- ---
185
-
186
- **That's it! Just run `./start.sh` and start chatting! 🎉**
@@ -1,6 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: drift-ml
3
- Version: 0.1.11
4
- Summary: Terminal-first AutoML CLI - chat-based ML engineer
5
- Requires-Python: >=3.10
6
- Requires-Dist: requests>=2.28.0
File without changes
File without changes
File without changes
File without changes
File without changes