@harperfast/template-vue-studio 1.5.19 → 1.5.20

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.
@@ -116,7 +116,7 @@ Use this when you need to perform similarity searches on high-dimensional data,
116
116
  #### How It Works
117
117
 
118
118
  1. **Define the Vector Field**: In your GraphQL schema, define a field with a list of floats (e.g., `[Float]`).
119
- 2. **Apply the `@indexed` Directive**: Use the `@indexed` directive on the vector field and specify the index type as `vector`.
119
+ 2. **Apply the `@indexed` Directive**: Use the `@indexed` directive on the vector field and specify the index type as `HNSW`.
120
120
  3. **Configure the Index (Optional)**: You can provide additional configuration for the vector index, such as the distance metric (e.g., `cosine`, `euclidean`).
121
121
  4. **Querying**: Use the `vector` operator in your REST or programmatic requests to perform similarity searches.
122
122
 
@@ -126,7 +126,7 @@ Use this when you need to perform similarity searches on high-dimensional data,
126
126
  type Document @table @export {
127
127
  id: ID @primaryKey
128
128
  content: String
129
- embedding: [Float] @indexed(type: "vector", options: { dims: 1536, metric: "cosine" })
129
+ embedding: [Float] @indexed(type: "HNSW")
130
130
  }
131
131
  ```
132
132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harperfast/template-vue-studio",
3
- "version": "1.5.19",
3
+ "version": "1.5.20",
4
4
  "type": "module",
5
5
  "repository": "github:HarperFast/create-harper",
6
6
  "scripts": {},
package/skills-lock.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "harper-best-practices": {
5
5
  "source": "harperfast/skills",
6
6
  "sourceType": "github",
7
- "computedHash": "24de04d7a5ebc3a878df177ae971470a229b8ea78b6111da4b46e492d44b5044"
7
+ "computedHash": "52d86f4580839d4d0badcebeeda01d2aee288f2ab180260c66ae67c55b47b76f"
8
8
  }
9
9
  }
10
10
  }