mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-27 13:15:00 +00:00
Merge a1d5462ad0
into 230fe0098f
This commit is contained in:
commit
02e97f775e
16 changed files with 50 additions and 489 deletions
|
@ -84,6 +84,10 @@ var _ = Describe("Integration tests for the stores backend(s) and internal APIs"
|
|||
})
|
||||
|
||||
It("should be able to set a key", func() {
|
||||
sc.StoresSet(context.Background(), &store.StoresSetOptions{
|
||||
Keys: [][]float32{{0.1, 0.2, 0.3}},
|
||||
Values: [][]byte{[]byte("test")},
|
||||
})
|
||||
err := store.SetSingle(context.Background(), sc, []float32{0.1, 0.2, 0.3}, []byte("test"))
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue