Skip to content

Commit a6bb1c3

Browse files
committed
Update README with embedding generation instructions and bump image tag to version 2.2.4
1 parent 2f5c2c6 commit a6bb1c3

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

choose-native-plants/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,29 @@ $POD_NAME = kubectl get pods -n choose-native-plants -l app.kubernetes.io/name=c
9898
kubectl exec $POD_NAME -n choose-native-plants -c choose-native-plants-app -- npm run fast-update-data
9999
```
100100

101+
### Generating Embeddings
102+
103+
After running `fast-update-data`, you should generate embeddings for the updated data. Use this command:
104+
105+
```powershell
106+
$POD_NAME = kubectl get pods -n choose-native-plants -l app.kubernetes.io/name=choose-native-plants -o jsonpath='{.items[0].metadata.name}'
107+
kubectl exec -it $POD_NAME -n choose-native-plants -c choose-native-plants-app -- npm run generate-embeddings
108+
```
109+
110+
**Note:** This is a long-running command that may take several minutes. If you see a websocket error (`websocket: close 1006 (abnormal closure): unexpected EOF`), the command may have completed successfully in the pod despite the connection error. You can verify completion by checking the pod logs:
111+
112+
```powershell
113+
$POD_NAME = kubectl get pods -n choose-native-plants -l app.kubernetes.io/name=choose-native-plants -o jsonpath='{.items[0].metadata.name}'
114+
kubectl logs $POD_NAME -n choose-native-plants -c choose-native-plants-app --tail=50
115+
```
116+
117+
Alternatively, for long-running commands, you can run them without the interactive flag (`-it`) to avoid connection issues:
118+
119+
```powershell
120+
$POD_NAME = kubectl get pods -n choose-native-plants -l app.kubernetes.io/name=choose-native-plants -o jsonpath='{.items[0].metadata.name}'
121+
kubectl exec $POD_NAME -n choose-native-plants -c choose-native-plants-app -- npm run generate-embeddings
122+
```
123+
101124
### Massaging Data
102125

103126
To process the data, use this command:

choose-native-plants/release-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
app:
22
image:
3-
tag: "2.2.3"
3+
tag: "2.2.4"
44
env:
55
- name: NODE_OPTIONS
66
value: "--openssl-legacy-provider --max-old-space-size=3072"

0 commit comments

Comments
 (0)