Skip to content

Commit

Permalink
Fix doc's json field interpretation in example (#2029)
Browse files Browse the repository at this point in the history
Addresses: #2028
  • Loading branch information
abhinavdangeti committed May 3, 2024
1 parent 733ba46 commit c76f76d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/vectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

```go
doc := struct{
Id string
Text string
Vec []float32
Id string `json:"id"`
Text string `json:"text"`
Vec []float32 `json:"vec"`
}{
Id: "example",
Text: "hello from united states",
Expand Down

0 comments on commit c76f76d

Please sign in to comment.