Skip to content

Commit f8a3b6d

Browse files
committed
Revert "Merge branch 'refactor' into documet-rag-refactor"
This reverts commit 6ec0d7d, reversing changes made to 7950de3.
1 parent 6ec0d7d commit f8a3b6d

50 files changed

Lines changed: 1036 additions & 1504 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.env.example‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ HTTP_PORT=3000
55
# gRPC Server
66
GRPC_HOST=127.0.0.1
77
GRPC_PORT=50051
8-
9-
# API keys used by both the HTTP and gRPC servers (required)
10-
# See keys.example.json for the file format
11-
VORTEXDB_KEYS_FILE=./keys.json
8+
# required
9+
GRPC_ROOT_PASSWORD=your-secure-password
1210

1311
# Database Configuration
1412
# Storage: inmemory, rocksdb

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
.TODO
88
/databases
99
.env
10-
/keys.json
1110
__pycache__/
1211
build/
1312
.venv/

‎README.md‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,12 @@ cp .env.example .env
6767
```
6868

6969
The following env vars are important, and are required to be set by the user:
70-
`VORTEXDB_KEYS_FILE`
70+
`GRPC_ROOT_PASSWORD`
7171
`DIMENSION`
7272
`DATA_PATH`
7373

7474
**NOTE**: `DATA_PATH` is the directory within the container where persistent data is stored
7575

76-
**NOTE**: `VORTEXDB_KEYS_FILE` points to a JSON file of API keys shared by both the HTTP and gRPC servers, e.g.:
77-
```json
78-
{
79-
"keys": [
80-
{ "name": "admin", "role": "readwrite", "key": "some-random-secret" },
81-
{ "name": "search-service", "role": "readonly", "key": "another-random-secret" }
82-
]
83-
}
84-
```
85-
Requests authenticate with an `api-key: <key>` header over HTTP, or an `authorization: Bearer <key>` header over gRPC. `readonly` keys can read/search but not insert, batch-insert, or delete; `readwrite` keys can do all of the above. See `keys.example.json`.
86-
8776

8877
Setting of the following env vars is optional, as they fallback to safe defaults, but recommended:
8978
| .env Var | Function | Safe Default |

‎client/python/USAGE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pip install -e .
1818
The client communicates with VortexDB over gRPC and requires:
1919

2020
- gRPC endpoint (host:port)
21-
- API key (must match a `key` entry in the server's `VORTEXDB_KEYS_FILE`)
21+
- API key (maps to `GRPC_ROOT_PASSWORD` on the server)
2222

2323
These can be provided either:
2424

0 commit comments

Comments
 (0)