Skip to content

v0.1.1 📗 [green-textbook]

Compare
Choose a tag to compare
@k33g k33g released this 20 Aug 07:00
· 115 commits to main since this release

What's new in v0.1.1?

Redis vector store

Create a store, and open an existing store:

redisStore := embeddings.RedisVectorStore{}
err := redisStore.Initialize("localhost:6379", "", "chronicles-bucket")

if err != nil {
	log.Fatalln("😡:", err)
}

👀 you will find a complete example in examples/32-rag-with-redis

  • examples/32-rag-with-redis/create-embeddings: create and populate the vector store
  • examples/32-rag-with-redis/use-embeddings: search similarities in the vector store