def _create_collection_if_not_exists(self, collection_name: str) -> None:
        """
        Create a collection in the linked Couchbase bucket if it does not exist.
        """
        if collection_name not in self._scope_collection_map[self._scopename]:
            try:
                self._bucket.collections().create_collection(
                    scope_name=self._scopename, collection_name=collection_name
                )
                self._scope_collection_map = self._list_scope_and_collections()
            except Exception as e:
                print("Error creating collection: ", e)
                raise

        Create a collection in the linked Couchbase bucket if it does not exist.
        
llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/llama_index/storage/kvstore/couchbase/base.py