Skip to content

Commit

Permalink
update ncruces demo
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed Jul 23, 2024
1 parent 77f9b03 commit a0c4e20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/simple-go-ncruces/demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func main() {
stmt.Step()

log.Printf("sqlite_version=%s, vec_version=%s\n", stmt.ColumnText(0), stmt.ColumnText(1))
stmt.Close()


err = db.Exec("CREATE VIRTUAL TABLE vec_items USING vec0(embedding float[4])")
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-go-ncruces/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module asg017.com/ex1
go 1.22.5

require (
github.com/asg017/sqlite-vec-go-bindings v0.0.1-alpha.36
github.com/asg017/sqlite-vec-go-bindings v0.0.1-alpha.37
github.com/ncruces/go-sqlite3 v0.17.2-0.20240711235451-21de85e849b7
)

Expand Down
4 changes: 2 additions & 2 deletions examples/simple-go-ncruces/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/asg017/sqlite-vec-go-bindings v0.0.1-alpha.36 h1:FMGkKAA7nZL8gr/dvIx1uc54J3v2gbLVa+mLqZDCvjk=
github.com/asg017/sqlite-vec-go-bindings v0.0.1-alpha.36/go.mod h1:A8+cTt/nKFsYCQF6OgzSNpKZrzNo5gQsXBTfsXHXY0Q=
github.com/asg017/sqlite-vec-go-bindings v0.0.1-alpha.37 h1:Gz6YkDCs60k5VwbBPKDfAPPeIBcuaN3qriAozAaIIZI=
github.com/asg017/sqlite-vec-go-bindings v0.0.1-alpha.37/go.mod h1:A8+cTt/nKFsYCQF6OgzSNpKZrzNo5gQsXBTfsXHXY0Q=
github.com/ncruces/go-sqlite3 v0.17.2-0.20240711235451-21de85e849b7 h1:ssM02uUFDfz0V2TMg2du2BjbW9cpOhFJK0kpDN+X768=
github.com/ncruces/go-sqlite3 v0.17.2-0.20240711235451-21de85e849b7/go.mod h1:FnCyui8SlDoL0mQZ5dTouNo7s7jXS0kJv9lBt1GlM9w=
github.com/ncruces/julianday v1.0.0 h1:fH0OKwa7NWvniGQtxdJRxAgkBMolni2BjDHaWTxqt7M=
Expand Down

0 comments on commit a0c4e20

Please sign in to comment.