Skip to content

Commit 3e31253

Browse files
committed
feat(upload): first working version
1 parent 7ef6a5b commit 3e31253

File tree

5 files changed

+601
-443
lines changed

5 files changed

+601
-443
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This tool is a way to achieve this!
99

1010
## Overview
1111

12-
- Indexes files, computes embeddings using an OpenAI-compatible embedding endpoint, stores data in SQLite.
12+
- Indexes files, computes embeddings using an OpenAI-compatible embedding endpoint, stores data in SQLite (with SQlite-vector).
1313
- Reads dependencies by running `python -m pip list --format=json` inside a virtualenv when available.
1414
- Detects Astral "uv" usage (https://docs.astral.sh/uv/) by inspecting `pyproject.toml` and/or installed packages in a venv; if uv is detected it tries to locate a venv managed by uv and uses it for `pip list`.
1515
- Analysis runs asynchronously (FastAPI BackgroundTasks) so the UI remains responsive.
@@ -30,7 +30,6 @@ First step: Example .env (copy `.env.example` -> `.env` and edit)
3030
- Typical flow (after `uv` is installed and you are in the project directory):
3131

3232
```
33-
3433
uv pip install -r pyproject.toml
3534
3635
uv run python ./main.py
@@ -42,6 +41,7 @@ Notes:
4241
### Using plain virtualenv / pip (fallback)
4342

4443
- Create a virtual environment and install dependencies listed in `pyproject.toml` with your preferred tool.
44+
-
4545
```
4646
# create venv
4747
python -m venv .venv
@@ -62,5 +62,5 @@ Notes:
6262

6363
```
6464
poetry install
65-
poetry run uvicorn main:app --reload
65+
poetry run main.py
6666
```

0 commit comments

Comments
 (0)