PackageTrack
Sign in Get early access

github.com/philippgille/chromem-go

v0.7.0 #1631 most downloaded on Go modules philippgille/chromem-go

What this package is like to depend on

Last release 3 months ago

17 May 2026

Ships unpredictably

gaps range from 2 weeks to 8 months

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

49 releases · first in 2023

4 releases in the last 12 months

see the full history below

Release timeline

49 releases · Dec 2023 to May 2026
2024 2025 2026
Release Pre-release

Releases

latest 49
  1. v0.7.1-0.20260517180012-fbeda8ab2b7a 17 May 2026 pre-release

    Nothing published for this version

  2. v0.7.1-0.20251010091601-f63964a64bf6 10 Oct 2025 pre-release

    Nothing published for this version

  3. v0.7.1-0.20250720180857-4e5d21d5b8ce 20 Jul 2025 pre-release

    Nothing published for this version

  4. v0.7.1-0.20250427144040-8311eb0938d6 27 Apr 2025 pre-release

    Nothing published for this version

  5. v0.7.1-0.20240901174117-dbfa88099cb7 01 Sep 2024 pre-release

    Nothing published for this version

  6. v0.7.0 01 Sep 2024
    Release notes

    Highlights in this release are the possibility to export/import the DB to/from object storage like S3, a way to run a negative query and either filter or subtract the results from the regular query results, and the license change from AGPL to MPL. But many other additions, improvements and important fixes made it into this release as well, all without breaking changes:

    Added

    • Added DB.ExportToWriter() to allow users to pass any io.Writer implementation for the DB export, not just a file. This allows for example to export the DB to AWS S3 or compatible services (like Ceph, MinIO etc.). (PR #71)
    • Added DB.ImportFromReader() to allow users to pass any io.ReadSeeker implementation for the DB import, not just a file. This allows for example to import the DB from AWS S3 or compatible services (like Ceph, MinIO etc.). (PR #72)
    • Added example code for S3 export/import with the ⬆️ new methods (PR #73)
    • Added Azure OpenAI compatibility (PR #74 by @iwilltry42)
    • Added lint job in GitHub Action (PR #82 by @erikdubbelboer)
    • Added the feature to run a negative query and either filter or subtract them from the regular query results (PR #80 by @erikdubbelboer)
      • This PR also added the new DB.QueryWithOptions method and related options structs and constants for future extensibility without breaking the parameter list of the query method!
    • Added option to only import/export selected collections to/from a DB (PR #88 by @iwilltry42)
    • Added Google / GCP Vertex AI embedding function (PR #91 by @iwilltry42 and #93)
    • Added new embedding model constants for Jina and Mixedbread (PR #94)
    • Added Collection.GetByID() to get a document for a known ID (PR #97, for issue #95)

    Improved

    • Changed license from AGPL to MPL (PR #87)
    • Updated golangci-lint in CI to its latest version (PR #99)
    • Added Go 1.23 to the CI build matrix (PR #98)
    • Improved Godoc (PR #100)

    Fixed

    • The Collection.QueryEmbedding() call assumed/expected the query embedding from the parameter to be normalized already, but it wasn't documented and it's also inconvenient for users who use an embedding model/API that doesn't return normalized embeddings. Now we check whether the embedding is normalized and if it's not then we normalize it. (PR #77)
      • (Currently chromem-go only does cosine similarity, and document embeddings are already being normalized, so the query embedding has to be normalized as well. In the future we might offer other distance functions or allow to inject your own and make the normalization optional)
    • Fixed test panic on unexpected pass (PR #78)
    • Fixed out of range panic on query (PR #79)
    • Fixed all golangci-lint warnings (PR #82 by @erikdubbelboer)
    • Fixed grammar and inconsistent receiver names (PR #85 by @codefromthecrypt)
    • Fixed link in Godoc (PR #89)

    New Contributors

    Full Changelog: v0.6.0...v0.7.0

    Open source →
    Release notes

    Highlights in this release are the possibility to export/import the DB to/from object storage like S3, a way to run a negative query and either filter or subtract the results from the regular query results, and the license change from AGPL to MPL. But many other additions, improvements and important fixes made it into this release as well, all without breaking changes:

    Added

    • Added DB.ExportToWriter() to allow users to pass any io.Writer implementation for the DB export, not just a file. This allows for example to export the DB to AWS S3 or compatible services (like Ceph, MinIO etc.). (PR #71)
    • Added DB.ImportFromReader() to allow users to pass any io.ReadSeeker implementation for the DB import, not just a file. This allows for example to import the DB from AWS S3 or compatible services (like Ceph, MinIO etc.). (PR #72)
    • Added example code for S3 export/import with the ⬆️ new methods (PR #73)
    • Added Azure OpenAI compatibility (PR #74 by @iwilltry42)
    • Added lint job in GitHub Action (PR #82 by @erikdubbelboer)
    • Added the feature to run a negative query and either filter or subtract them from the regular query results (PR #80 by @erikdubbelboer)
      • This PR also added the new DB.QueryWithOptions method and related options structs and constants for future extensibility without breaking the parameter list of the query method!
    • Added option to only import/export selected collections to/from a DB (PR #88 by @iwilltry42)
    • Added Google / GCP Vertex AI embedding function (PR #91 by @iwilltry42 and #93)
    • Added new embedding model constants for Jina and Mixedbread (PR #94)
    • Added Collection.GetByID() to get a document for a known ID (PR #97, for issue #95)

    Improved

    • Changed license from AGPL to MPL (PR #87)
    • Updated golangci-lint in CI to its latest version (PR #99)
    • Added Go 1.23 to the CI build matrix (PR #98)
    • Improved Godoc (PR #100)

    Fixed

    • The Collection.QueryEmbedding() call assumed/expected the query embedding from the parameter to be normalized already, but it wasn't documented and it's also inconvenient for users who use an embedding model/API that doesn't return normalized embeddings. Now we check whether the embedding is normalized and if it's not then we normalize it. (PR #77)
      • (Currently chromem-go only does cosine similarity, and document embeddings are already being normalized, so the query embedding has to be normalized as well. In the future we might offer other distance functions or allow to inject your own and make the normalization optional)
    • Fixed test panic on unexpected pass (PR #78)
    • Fixed out of range panic on query (PR #79)
    • Fixed all golangci-lint warnings (PR #82 by @erikdubbelboer)
    • Fixed grammar and inconsistent receiver names (PR #85 by @codefromthecrypt)
    • Fixed link in Godoc (PR #89)
    Open source →
    Release notes

    v0.7.0 (2024-09-01) Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  7. v0.6.1-0.20240811154507-a1944285b284 11 Aug 2024 pre-release

    Nothing published for this version

  8. v0.6.1-0.20240728135250-55f437cdce8d 28 Jul 2024 pre-release

    Nothing published for this version

  9. v0.6.1-0.20240717194851-7606de4f221f 17 Jul 2024 pre-release

    Nothing published for this version

  10. v0.6.1-0.20240713125934-06fe2d595de8 13 Jul 2024 pre-release

    Nothing published for this version

  11. v0.6.1-0.20240703185604-935ec301a0a4 03 Jul 2024 pre-release

    Nothing published for this version

  12. v0.6.1-0.20240626185123-4b532fac455a 26 Jun 2024 pre-release

    Nothing published for this version

  13. v0.6.1-0.20240613191106-e147c74a9c66 13 Jun 2024 pre-release

    Nothing published for this version

  14. v0.6.1-0.20240602150210-34ba8797e203 02 Jun 2024 pre-release

    Nothing published for this version

  15. v0.6.1-0.20240521005659-0e92288ec0ee 21 May 2024 pre-release

    Nothing published for this version

  16. v0.6.1-0.20240517210722-1de154b9aa58 17 May 2024 pre-release

    Nothing published for this version

  17. v0.6.1-0.20240513155556-aa151c63b503 13 May 2024 pre-release

    Nothing published for this version

  18. v0.6.1-0.20240505191541-4c3f50020bd8 05 May 2024 pre-release

    Nothing published for this version

  19. v0.6.0 25 Apr 2024
    Release notes

    Highlights in this release are an extended interface, experimental WebAssembly bindings, and the option to use a custom Ollama URL. But also the fact that three people contributed to this release! Thank you so much! 🙇‍♂️

    Added

    • Added Collection.Delete() to delete documents from a collection (PR #63 by @iwilltry42)
    • Added an experimental WebAssembly binding (package wasm) and example (PR #69)

    Improved

    • Use prefixes for nomic-embed-text model in RAG-Wikipedia-Ollama example (PR #49, #65)
      • Thanks @rinor for pointing out the bug!
    • Made Ollama URL configurable (PR #64 by @erikdubbelboer)
    • Added building of code examples to CI (PR #66)
    • Improved RAG template (PR #67)

    Breaking changes

    • NewEmbeddingFuncOllama now requires a second parameter for the base URL. But it can be empty to use the default which was also used in the past.

    New Contributors

    Full Changelog: v0.5.0...v0.6.0

    Open source →
    Release notes

    Highlights in this release are an extended interface, experimental WebAssembly bindings, and the option to use a custom Ollama URL. But also the fact that three people contributed to this release! Thank you so much! 🙇‍♂️

    Added

    • Added Collection.Delete() to delete documents from a collection (PR #63 by @iwilltry42)
    • Added an experimental WebAssembly binding (package wasm) and example (PR #69)

    Improved

    • Use prefixes for nomic-embed-text model in RAG-Wikipedia-Ollama example (PR #49, #65)
      • Thanks @rinor for pointing out the bug!
    • Made Ollama URL configurable (PR #64 by @erikdubbelboer)
    • Added building of code examples to CI (PR #66)
    • Improved RAG template (PR #67)

    Breaking changes

    • NewEmbeddingFuncOllama now requires a second parameter for the base URL. But it can be empty to use the default which was also used in the past.

    New Contributors

    Full Changelog: https://github.com/philippgille/chromem-go/compare/v0.5.0...v0.6.0

    Open source →
    Release notes

    v0.6.0 (2024-04-25)

    Compare

    Choose a tag to compare

    Open source →
  20. v0.5.1-0.20240422192035-df6c86386820 22 Apr 2024 pre-release

    Nothing published for this version

  21. v0.5.1-0.20240323212036-5dcbc5d3dea6 23 Mar 2024 pre-release

    Nothing published for this version

  22. v0.5.0 23 Mar 2024
    Release notes

    Highlights in this release are query performance improvements (5x faster, 98% fewer memory allocations), export/import of the entire DB to/from a single file with optional gzip-compression and AES-GCM encryption, optional gzip-compression for the regular persistence, a new code example for semantic search across 5,000 arXiv papers, and an embedding func for Cohere.

    Added

    • Added arXiv semantic search example (PR #45)
    • Added basic query benchmark (PR #46)
    • Added unit test for collection query errors (PR #51)
    • Added Collection.QueryEmbedding() method for when you already have the embedding of your query (PR #52)
    • Added export and import of the entire DB to/from a single file, with optional gzip-compression and AES-GCM encryption (PR #58)
    • Added optional gzip-compression to the regular persistence (i.e. the DB from NewPersistentDB() which writes a file for each added collection and document) (PR #59)
    • Added minimal example (PR #60, #62)
    • Added embedding func for Cohere (PR #61)

    Improved

    • Changed the example link target to directory instead of main.go file (PR #43)
    • Improved query performance (5x faster, 98% fewer memory allocations) (PR #47, #53, #54)
      • benchstat output
        goos: linux
        goarch: amd64
        pkg: github.com/philippgille/chromem-go
        cpu: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
                                            │    before     │               after                 │
                                            │    sec/op     │    sec/op     vs base               │
        Collection_Query_NoContent_100-8      413.69µ ±  4%   90.79µ ±  2%  -78.05% (p=0.002 n=6)
        Collection_Query_NoContent_1000-8     2759.4µ ±  0%   518.8µ ±  1%  -81.20% (p=0.002 n=6)
        Collection_Query_NoContent_5000-8     12.980m ±  1%   2.144m ±  1%  -83.49% (p=0.002 n=6)
        Collection_Query_NoContent_25000-8    66.559m ±  1%   9.947m ±  2%  -85.06% (p=0.002 n=6)
        Collection_Query_NoContent_100000-8   282.41m ±  3%   39.75m ±  1%  -85.92% (p=0.002 n=6)
        Collection_Query_100-8                416.75µ ±  2%   90.99µ ±  1%  -78.17% (p=0.002 n=6)
        Collection_Query_1000-8               2792.8µ ± 23%   595.2µ ± 13%  -78.69% (p=0.002 n=6)
        Collection_Query_5000-8               15.643m ±  1%   2.556m ±  1%  -83.66% (p=0.002 n=6)
        Collection_Query_25000-8               78.29m ±  1%   11.66m ±  1%  -85.11% (p=0.002 n=6)
        Collection_Query_100000-8             338.54m ±  5%   39.70m ± 12%  -88.27% (p=0.002 n=6)
        geomean                                12.97m         2.192m        -83.10%
        
                                            │      before      │               after                 │
                                            │       B/op       │     B/op      vs base               │
        Collection_Query_NoContent_100-8       1211.007Ki ± 0%   5.030Ki ± 0%  -99.58% (p=0.002 n=6)
        Collection_Query_NoContent_1000-8      12082.16Ki ± 0%   13.24Ki ± 0%  -99.89% (p=0.002 n=6)
        Collection_Query_NoContent_5000-8      60394.23Ki ± 0%   45.99Ki ± 0%  -99.92% (p=0.002 n=6)
        Collection_Query_NoContent_25000-8     301962.1Ki ± 0%   206.7Ki ± 0%  -99.93% (p=0.002 n=6)
        Collection_Query_NoContent_100000-8   1207818.1Ki ± 0%   791.4Ki ± 0%  -99.93% (p=0.002 n=6)
        Collection_Query_100-8                 1211.006Ki ± 0%   5.033Ki ± 0%  -99.58% (p=0.002 n=6)
        Collection_Query_1000-8                12082.11Ki ± 0%   13.25Ki ± 0%  -99.89% (p=0.002 n=6)
        Collection_Query_5000-8                60394.10Ki ± 0%   46.04Ki ± 0%  -99.92% (p=0.002 n=6)
        Collection_Query_25000-8               301962.1Ki ± 0%   206.8Ki ± 0%  -99.93% (p=0.002 n=6)
        Collection_Query_100000-8             1207818.1Ki ± 0%   791.4Ki ± 0%  -99.93% (p=0.002 n=6)
        geomean                                   49.13Mi        54.97Ki       -99.89%
        
                                            │    before     │              after                │
                                            │   allocs/op   │ allocs/op   vs base               │
        Collection_Query_NoContent_100-8        238.00 ± 0%   94.00 ± 1%  -60.50% (p=0.002 n=6)
        Collection_Query_NoContent_1000-8       2038.5 ± 0%   140.5 ± 0%  -93.11% (p=0.002 n=6)
        Collection_Query_NoContent_5000-8      10039.0 ± 0%   172.0 ± 1%  -98.29% (p=0.002 n=6)
        Collection_Query_NoContent_25000-8     50038.0 ± 0%   204.0 ± 1%  -99.59% (p=0.002 n=6)
        Collection_Query_NoContent_100000-8   200038.0 ± 0%   232.0 ± 3%  -99.88% (p=0.002 n=6)
        Collection_Query_100-8                  238.00 ± 0%   94.50 ± 1%  -60.29% (p=0.002 n=6)
        Collection_Query_1000-8                 2038.0 ± 0%   141.0 ± 1%  -93.08% (p=0.002 n=6)
        Collection_Query_5000-8                10038.0 ± 0%   174.5 ± 2%  -98.26% (p=0.002 n=6)
        Collection_Query_25000-8               50038.0 ± 0%   205.5 ± 2%  -99.59% (p=0.002 n=6)
        Collection_Query_100000-8             200038.5 ± 0%   233.0 ± 1%  -99.88% (p=0.002 n=6)
        geomean                                 8.661k        161.4       -98.14%
        
    • Extended parameter validation (PR #50, #51)
    • Simplified unit tests (PR #55)
    • Improve NewPersistentDB() path handling (PR #56)
    • Improve loading of persistent DB (PR #57)
    • Increased unit test coverage in various of the other listed PRs

    Fixed

    • Fixed path joining (PR #44)

    Breaking changes

    • Due to vectors now being normalized at the time of adding the document to the collection instead of when querying, the persisted data from prior versions is incompatible with this version (PR #47)
    Open source →
    Release notes

    Highlights in this release are query performance improvements (5x faster, 98% fewer memory allocations), export/import of the entire DB to/from a single file with optional gzip-compression and AES-GCM encryption, optional gzip-compression for the regular persistence, a new code example for semantic search across 5,000 arXiv papers, and an embedding func for Cohere.

    Added

    • Added arXiv semantic search example (PR #45)
    • Added basic query benchmark (PR #46)
    • Added unit test for collection query errors (PR #51)
    • Added Collection.QueryEmbedding() method for when you already have the embedding of your query (PR #52)
    • Added export and import of the entire DB to/from a single file, with optional gzip-compression and AES-GCM encryption (PR #58)
    • Added optional gzip-compression to the regular persistence (i.e. the DB from NewPersistentDB() which writes a file for each added collection and document) (PR #59)
    • Added minimal example (PR #60, #62)
    • Added embedding func for Cohere (PR #61)

    Improved

    • Changed the example link target to directory instead of main.go file (PR #43)
    • Improved query performance (5x faster, 98% fewer memory allocations) (PR #47, #53, #54)
      • <details><summary>benchstat output</summary>

        goos: linux
        goarch: amd64
        pkg: github.com/philippgille/chromem-go
        cpu: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
                                            │    before     │               after                 │
                                            │    sec/op     │    sec/op     vs base               │
        Collection_Query_NoContent_100-8      413.69µ ±  4%   90.79µ ±  2%  -78.05% (p=0.002 n=6)
        Collection_Query_NoContent_1000-8     2759.4µ ±  0%   518.8µ ±  1%  -81.20% (p=0.002 n=6)
        Collection_Query_NoContent_5000-8     12.980m ±  1%   2.144m ±  1%  -83.49% (p=0.002 n=6)
        Collection_Query_NoContent_25000-8    66.559m ±  1%   9.947m ±  2%  -85.06% (p=0.002 n=6)
        Collection_Query_NoContent_100000-8   282.41m ±  3%   39.75m ±  1%  -85.92% (p=0.002 n=6)
        Collection_Query_100-8                416.75µ ±  2%   90.99µ ±  1%  -78.17% (p=0.002 n=6)
        Collection_Query_1000-8               2792.8µ ± 23%   595.2µ ± 13%  -78.69% (p=0.002 n=6)
        Collection_Query_5000-8               15.643m ±  1%   2.556m ±  1%  -83.66% (p=0.002 n=6)
        Collection_Query_25000-8               78.29m ±  1%   11.66m ±  1%  -85.11% (p=0.002 n=6)
        Collection_Query_100000-8             338.54m ±  5%   39.70m ± 12%  -88.27% (p=0.002 n=6)
        geomean                                12.97m         2.192m        -83.10%
        
                                            │      before      │               after                 │
                                            │       B/op       │     B/op      vs base               │
        Collection_Query_NoContent_100-8       1211.007Ki ± 0%   5.030Ki ± 0%  -99.58% (p=0.002 n=6)
        Collection_Query_NoContent_1000-8      12082.16Ki ± 0%   13.24Ki ± 0%  -99.89% (p=0.002 n=6)
        Collection_Query_NoContent_5000-8      60394.23Ki ± 0%   45.99Ki ± 0%  -99.92% (p=0.002 n=6)
        Collection_Query_NoContent_25000-8     301962.1Ki ± 0%   206.7Ki ± 0%  -99.93% (p=0.002 n=6)
        Collection_Query_NoContent_100000-8   1207818.1Ki ± 0%   791.4Ki ± 0%  -99.93% (p=0.002 n=6)
        Collection_Query_100-8                 1211.006Ki ± 0%   5.033Ki ± 0%  -99.58% (p=0.002 n=6)
        Collection_Query_1000-8                12082.11Ki ± 0%   13.25Ki ± 0%  -99.89% (p=0.002 n=6)
        Collection_Query_5000-8                60394.10Ki ± 0%   46.04Ki ± 0%  -99.92% (p=0.002 n=6)
        Collection_Query_25000-8               301962.1Ki ± 0%   206.8Ki ± 0%  -99.93% (p=0.002 n=6)
        Collection_Query_100000-8             1207818.1Ki ± 0%   791.4Ki ± 0%  -99.93% (p=0.002 n=6)
        geomean                                   49.13Mi        54.97Ki       -99.89%
        
                                            │    before     │              after                │
                                            │   allocs/op   │ allocs/op   vs base               │
        Collection_Query_NoContent_100-8        238.00 ± 0%   94.00 ± 1%  -60.50% (p=0.002 n=6)
        Collection_Query_NoContent_1000-8       2038.5 ± 0%   140.5 ± 0%  -93.11% (p=0.002 n=6)
        Collection_Query_NoContent_5000-8      10039.0 ± 0%   172.0 ± 1%  -98.29% (p=0.002 n=6)
        Collection_Query_NoContent_25000-8     50038.0 ± 0%   204.0 ± 1%  -99.59% (p=0.002 n=6)
        Collection_Query_NoContent_100000-8   200038.0 ± 0%   232.0 ± 3%  -99.88% (p=0.002 n=6)
        Collection_Query_100-8                  238.00 ± 0%   94.50 ± 1%  -60.29% (p=0.002 n=6)
        Collection_Query_1000-8                 2038.0 ± 0%   141.0 ± 1%  -93.08% (p=0.002 n=6)
        Collection_Query_5000-8                10038.0 ± 0%   174.5 ± 2%  -98.26% (p=0.002 n=6)
        Collection_Query_25000-8               50038.0 ± 0%   205.5 ± 2%  -99.59% (p=0.002 n=6)
        Collection_Query_100000-8             200038.5 ± 0%   233.0 ± 1%  -99.88% (p=0.002 n=6)
        geomean                                 8.661k        161.4       -98.14%
        

        </details>

    • Extended parameter validation (PR #50, #51)
    • Simplified unit tests (PR #55)
    • Improve NewPersistentDB() path handling (PR #56)
    • Improve loading of persistent DB (PR #57)
    • Increased unit test coverage in various of the other listed PRs

    Fixed

    • Fixed path joining (PR #44)

    Breaking changes

    • Due to vectors now being normalized at the time of adding the document to the collection instead of when querying, the persisted data from prior versions is incompatible with this version (PR #47)
    Open source →
    Release notes

    v0.5.0 (2024-03-23)

    Compare

    Choose a tag to compare

    Open source →
  23. v0.4.1-0.20240318221203-9ab9af97d39c 18 Mar 2024 pre-release

    Nothing published for this version

  24. v0.4.1-0.20240306230222-41e6823e3006 06 Mar 2024 pre-release

    Nothing published for this version

  25. v0.4.0 06 Mar 2024
    Release notes

    Highlights in this release are optional persistence, an extended interface, support for creating embeddings with Ollama, the exporting of the Document struct, and more Go-idiomatic methods to add documents to collections.

    Added

    • Extended the interface:
      • DB.ListCollections() (PR #12)
      • DB.GetCollection() (PR #13 + #19)
      • DB.DeleteCollection() (PR #14)
      • DB.Reset() (PR #15)
      • DB.GetOrCreateCollection() (PR #22)
      • Collection.Count() (PR #27)
      • Document struct, NewDocument() function, Collection.AddDocument() and Collection.AddDocuments() methods (PR #34)
        • More Go-idiomatic alternatives to Collection.Add()
    • Added various unit tests (PR #20, #39)
    • Added optional persistence! Via multiple PRs:
    • Added support for creating embeddings with Ollama (PR #32)
    • Added example documentation (PR #42)

    Improved

    • Improved example (PR #11, #28, #33)
    • Stop exporting Collection.Metadata (PR #16)
      • Goal: Prevent direct modifications which could cause data races in case of the user doing a modification while chromem-go for example ranges over it during a Collection.Query() call.
    • Copy metadata in constructors (PR #17)
      • Goal: Prevent direct modifications which could cause data races in case of the user doing a modification while chromem-go for example ranges over it.
    • Improved CI (PR #18)
      • Add Go 1.22 to test matrix, update used GitHub Action from v4 to v5, use race detector during tests
    • Reorganize code internally (PR #21)
    • Switched to newer recommended check for file related ErrNotExist errors (PR #29)
    • Added more validations in several existing methods (PR #30)
    • Internal variable renamed (PR #37)
    • Fail unit tests immediately (PR #40)

    Fixed

    • Fixed metadatas validation in Collection.AddConcurrently() (PR #35)
    • Fixed Godoc of Collection.Query() method (PR #36)
    • Fixed length of result slice (PR #38)
    • Fixed filter test (PR #41)

    Breaking changes

    • Because functions can't be (de-)serialized, GetCollection requires a new parameter of type EmbeddingFunc, in order to set the correct func when using a DB with persistence and it just loaded the collections and documents from storage. (PR #25)
    • Some methods now return an error (due to file operations when persistence is used)
    • Additional validations will return an early error, but most (if not all) prior calls with the invalid parameters probably lead to some errors down the line anyway
    • Collection.Metadata is not exported anymore
    • Result.Document field was renamed to Result.Content, to avoid confusion with the now exported Document struct
    Open source →
    Release notes

    Highlights in this release are optional persistence, an extended interface, support for creating embeddings with Ollama, the exporting of the Document struct, and more Go-idiomatic methods to add documents to collections.

    Added

    • Extended the interface:
      • DB.ListCollections() (PR #12)
      • DB.GetCollection() (PR #13 + #19)
      • DB.DeleteCollection() (PR #14)
      • DB.Reset() (PR #15)
      • DB.GetOrCreateCollection() (PR #22)
      • Collection.Count() (PR #27)
      • Document struct, NewDocument() function, Collection.AddDocument() and Collection.AddDocuments() methods (PR #34)
        • More Go-idiomatic alternatives to Collection.Add()
    • Added various unit tests (PR #20, #39)
    • Added optional persistence! Via multiple PRs:
    • Added support for creating embeddings with Ollama (PR #32)
    • Added example documentation (PR #42)

    Improved

    • Improved example (PR #11, #28, #33)
    • Stop exporting Collection.Metadata (PR #16)
      • Goal: Prevent direct modifications which could cause data races in case of the user doing a modification while chromem-go for example ranges over it during a Collection.Query() call.
    • Copy metadata in constructors (PR #17)
      • Goal: Prevent direct modifications which could cause data races in case of the user doing a modification while chromem-go for example ranges over it.
    • Improved CI (PR #18)
      • Add Go 1.22 to test matrix, update used GitHub Action from v4 to v5, use race detector during tests
    • Reorganize code internally (PR #21)
    • Switched to newer recommended check for file related ErrNotExist errors (PR #29)
    • Added more validations in several existing methods (PR #30)
    • Internal variable renamed (PR #37)
    • Fail unit tests immediately (PR #40)

    Fixed

    • Fixed metadatas validation in Collection.AddConcurrently() (PR #35)
    • Fixed Godoc of Collection.Query() method (PR #36)
    • Fixed length of result slice (PR #38)
    • Fixed filter test (PR #41)

    Breaking changes

    • Because functions can't be (de-)serialized, GetCollection requires a new parameter of type EmbeddingFunc, in order to set the correct func when using a DB with persistence and it just loaded the collections and documents from storage. (PR #25)
    • Some methods now return an error (due to file operations when persistence is used)
    • Additional validations will return an early error, but most (if not all) prior calls with the invalid parameters probably lead to some errors down the line anyway
    • Collection.Metadata is not exported anymore
    • Result.Document field was renamed to Result.Content, to avoid confusion with the now exported Document struct
    Open source →
    Release notes

    v0.4.0 (2024-03-06)

    Compare

    Choose a tag to compare

    Open source →
  26. v0.3.1-0.20240228224329-652aeabcfe37 28 Feb 2024 pre-release

    Nothing published for this version

  27. v0.3.1-0.20240225195303-2b8a849b52c8 25 Feb 2024 pre-release

    Nothing published for this version

  28. v0.3.1-0.20240217194400-688b3be906ec 17 Feb 2024 pre-release

    Nothing published for this version

  29. v0.3.0 10 Feb 2024
    Release notes

    Added

    Improved

    • Improve concurrency when adding documents to collection (PR #2)
    • Rename Client to DB to better indicate that the database is embedded and there's no client-server separation (PR #3)
    • Change OpenAPI embedding model from "text-embedding-ada-002" to "text-embedding-3-small" (PR #4)
    • Allow custom base URL for OpenAI, enabling the use of Azure OpenAI, LiteLLM, ollama etc. (PR #7)
    • Renamed EmbeddingFunc constructors to follow best practice (PR #9)

    Fixed

    • Don't allow nResults arg < 0 (PR #5)

    Breaking changes

    • Several function names and signatures were changed in this release. This can happen as long as the version is at v0.x.y.
    Open source →
    Release notes

    Added

    Improved

    • Improve concurrency when adding documents to collection (PR #2)
    • Rename Client to DB to better indicate that the database is embedded and there's no client-server separation (PR #3)
    • Change OpenAPI embedding model from "text-embedding-ada-002" to "text-embedding-3-small" (PR #4)
    • Allow custom base URL for OpenAI, enabling the use of Azure OpenAI, LiteLLM, ollama etc. (PR #7)
    • Renamed EmbeddingFunc constructors to follow best practice (PR #9)

    Fixed

    • Don't allow nResults arg < 0 (PR #5)

    Breaking changes

    • Several function names and signatures were changed in this release. This can happen as long as the version is at v0.x.y.
    Open source →
    Release notes

    v0.3.0 (2024-02-10)

    Compare

    Choose a tag to compare

    Open source →
  30. v0.2.1-0.20240113171940-91acf87e4351 13 Jan 2024 pre-release

    Nothing published for this version

  31. v0.2.0 01 Jan 2024
    Release notes

    Added

    • Added GitHub Actions config (commit)
    • Added CHANGELOG.md (commit)
    • Exported embedding creation functions (commit)
    • Added Collection.AddConcurrently to add embeddings concurrently (commit)

    Improved

    • Improved example code (commit)
    • Removed unused field in Client (commit)
    • Improved validation in Query method (commit)
    • Added and improved Godoc (commit)
    • Improved locking around a collection's documents (commit)
    • Removed dependency on third party library for OpenAI (commit)
    • Parallelized document querying (PR #1)
    Open source →
    Release notes

    Added

    • Added GitHub Actions config (commit)
    • Added CHANGELOG.md (commit)
    • Exported embedding creation functions (commit)
    • Added Collection.AddConcurrently to add embeddings concurrently (commit)

    Improved

    • Improved example code (commit)
    • Removed unused field in Client (commit)
    • Improved validation in Query method (commit)
    • Added and improved Godoc (commit)
    • Improved locking around a collection's documents (commit)
    • Removed dependency on third party library for OpenAI (commit)
    • Parallelized document querying (PR #1)
    Open source →
    Release notes

    v0.2.0 (2024-01-01)

    Compare

    Choose a tag to compare

    Open source →
  32. v0.1.1-0.20240101181926-5fa08843a33b 01 Jan 2024 pre-release

    Nothing published for this version

  33. v0.1.1-0.20231229003317-67ab5b5449ee 29 Dec 2023 pre-release

    Nothing published for this version

  34. v0.1.0 28 Dec 2023
    Release notes

    Initial release with a minimal Chroma-like interface and a working retrieval augmented generation (RAG) example.

    Open source →
    Release notes

    Initial release with a minimal Chroma-like interface and a working retrieval augmented generation (RAG) example.

    Open source →
    Release notes

    v0.1.0 (2023-12-29)

    Compare

    Choose a tag to compare

    Open source →
  35. v0.0.0-20260517180012-fbeda8ab2b7a 17 May 2026 pre-release

    Nothing published for this version

  36. v0.0.0-20251010091601-f63964a64bf6 10 Oct 2025 pre-release

    Nothing published for this version

  37. v0.0.0-20250720180857-4e5d21d5b8ce 20 Jul 2025 pre-release

    Nothing published for this version

  38. v0.0.0-20240901174117-dbfa88099cb7 01 Sep 2024 pre-release

    Nothing published for this version

  39. v0.0.0-20240811154507-a1944285b284 11 Aug 2024 pre-release

    Nothing published for this version

  40. v0.0.0-20240703185604-935ec301a0a4 03 Jul 2024 pre-release

    Nothing published for this version

  41. v0.0.0-20240602150210-34ba8797e203 02 Jun 2024 pre-release

    Nothing published for this version

  42. v0.0.0-20240521005659-0e92288ec0ee 21 May 2024 pre-release

    Nothing published for this version

  43. v0.0.0-20240520220557-3e0fa5106517 20 May 2024 pre-release

    Nothing published for this version

  44. v0.0.0-20240517210722-1de154b9aa58 17 May 2024 pre-release

    Nothing published for this version

  45. v0.0.0-20240422192035-df6c86386820 22 Apr 2024 pre-release

    Nothing published for this version

  46. v0.0.0-20240323212036-5dcbc5d3dea6 23 Mar 2024 pre-release

    Nothing published for this version

  47. v0.0.0-20240318221203-9ab9af97d39c 18 Mar 2024 pre-release

    Nothing published for this version

  48. v0.0.0-20240113171940-91acf87e4351 13 Jan 2024 pre-release

    Nothing published for this version

  49. v0.0.0-20231228234753-384baf09d366 28 Dec 2023 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive