Skip to content

Commit

Permalink
fix vector dims in example
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerhutcherson committed Aug 16, 2024
1 parent c7b51a4 commit 4a48424
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ Choose from multiple Redis deployment options:
- name: embedding
type: vector
attrs:
algorithm: flat
dims: 3
distance_metric: cosine
datatype: float32
algorithm: flat
dims: 4
distance_metric: cosine
datatype: float32
```
```python
from redisvl.schema import IndexSchema
Expand Down
2 changes: 1 addition & 1 deletion schemas/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ fields:
type: vector
attrs:
algorithm: flat
dims: 3
dims: 4
distance_metric: cosine
datatype: float32

0 comments on commit 4a48424

Please sign in to comment.