All notable changes to this project will be documented in this file.
- Added tests to test embedding functions calling external provider
- Fixed double question mark in API URL formatting for
Client::UpdateCollection
method
- Ensure all non-void functions have return statements to remove warnings
- Updated ChromaDB docker image to version
0.5.15
- Check embedding dimensionality to be the same
- Updated the C++ standard from C++17 to C++20.
- Renamed the function
GetLastRequestAdditionalMetadata()
toGetRequestMetadata()
for clarity. - Replaced string concatenation with
std::format
for more readable formatting.
- Replaced
push_back
withemplace_back
- Removed
version
from thedocker-compose.yml
file as it is no longer needed. - Removed
DeleteCollections
method due to incompatibility with the new API.
- Added version to the ChromaDB image in
docker-compose.yml
(e.g.,chromadb/chroma:0.5.7
).
- Accessing a deleted collection now throws an exception if the collection object is accessed.
- Updated error type from
AuthorizationError
toAuthError
for compatibility with the latest ChromaDB version. - Adjusted tests to expect other exception type.
GetOrCreateCollection
: AddedGetOrCreateCollection
method to retrieve an existing collection or create a new one if it does not exist.- Support for Retrieving Additional Metadata: Added support for retrieving additional metadata from embedding requests using the
GetLastRequestAdditionalMetadata()
method in embedding functions (e.g., JinaEmbeddingFunction, OpenAIEmbeddingFunction, ...).
Renamed Utils::join
to Utils::Join
: The join function in the Utils class has been renamed to Join
for consistency.
- Copyright notice added to the main header
- Members of
QueryResponseResource
andEmbeddingResource
made const to ensure immutability.
CohereEmbeddingFunction
: Added new embedding function for Cohere.VoyageAIEmbeddingFunction
: Added new embedding function for VoyageAI.TogetherAIEmbeddingFunction
: Added new embedding function for TogetherAI.- Custom Exceptions for Embedding Provider Request failures: Introduced specific exceptions to handle embedding provider request failures.
dimension
parameter for OpenAI Embedding models: Added support for specifying the dimension parameter for third generation OpenAI embedding models.
- Readme namespace: Corrected namespace references in the Readme documentation.
- Character set for embedding requests: Fixed issues with character set handling in embedding requests.
- Custom Exceptions
- Initial release