You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-4Lines changed: 33 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,12 @@ docker compose -f docker-compose.prod.yml up -d
91
91
92
92
### Option 4: Manual Setup
93
93
94
+
**Requirements:**
95
+
-[Bun](https://bun.sh/) runtime
96
+
- PostgreSQL 12+ with [pgvector extension](https://github.com/pgvector/pgvector) (required for AI embeddings)
97
+
98
+
**Note:** Sim Studio uses vector embeddings for AI features like knowledge bases and semantic search, which requires the `pgvector` PostgreSQL extension.
99
+
94
100
1. Clone and install dependencies:
95
101
96
102
```bash
@@ -99,20 +105,43 @@ cd sim
99
105
bun install
100
106
```
101
107
102
-
2. Set up environment:
108
+
2. Set up PostgreSQL with pgvector:
109
+
110
+
You need PostgreSQL with the `vector` extension for embedding support. Choose one option:
111
+
112
+
**Option A: Using Docker (Recommended)**
113
+
```bash
114
+
# Start PostgreSQL with pgvector extension
115
+
docker run --name simstudio-db \
116
+
-e POSTGRES_PASSWORD=your_password \
117
+
-e POSTGRES_DB=simstudio \
118
+
-p 5432:5432 -d \
119
+
pgvector/pgvector:pg17
120
+
```
121
+
122
+
**Option B: Manual Installation**
123
+
- Install PostgreSQL 12+ and the pgvector extension
124
+
- See [pgvector installation guide](https://github.com/pgvector/pgvector#installation)
0 commit comments