From 1abbeab0a178f758f26a901d2035d2ba6d9fbe52 Mon Sep 17 00:00:00 2001 From: Austin DeNoble Date: Tue, 6 Aug 2024 10:23:28 -0400 Subject: [PATCH] FIx README v1.0.0 (#63) ## 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 --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index f972084..1aeff4a 100644 --- a/README.md +++ b/README.md @@ -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) }