diff --git a/libs/community/langchain_community/cache.py b/libs/community/langchain_community/cache.py index ba9dd9f43..0647776f1 100644 --- a/libs/community/langchain_community/cache.py +++ b/libs/community/langchain_community/cache.py @@ -2153,7 +2153,7 @@ def __init__( self._validate_enum_value(kind, CosmosDBVectorSearchType) if not cosmosdb_connection_string: - raise ValueError(" CosmosDB connection string can be empty.") + raise ValueError("CosmosDB connection string can't be empty.") self.cosmosdb_connection_string = cosmosdb_connection_string self.cosmosdb_client = cosmosdb_client