Skip to content

Commit

Permalink
FIx README v1.0.0 (#63)
Browse files Browse the repository at this point in the history
## Problem
Missed completely removing the old `metadata` example in Query by
Vector. Nice catch @jseldess.

## Solution
Fix it.

## Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
- [ ] Infrastructure change (CI configs, etc)
- [X] Non-code change (docs, etc)
- [ ] None of the above: (explain here)

## Test Plan
N/A
  • Loading branch information
austin-denoble authored Aug 6, 2024
1 parent f63e3ad commit 1abbeab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,7 @@ func main() {
"year": 2019,
}

metadataFilter, err := structpb.NewStruct(map[string]interface{}{
"genre": map[string]interface{}{
"$eq": "documentary",
},
"year": 2019,
})
metadataFilter, err := structpb.NewStruct(metadataMap)
if err != nil {
log.Fatalf("Failed to create metadataFilter: %v", err)
}
Expand Down

0 comments on commit 1abbeab

Please sign in to comment.