pub fn update_to_embedding_in_progress( conn: &Connection, pending_id: i64, ) -> Result<(), AppError>
Updates the status to embedding_in_progress and increments attempt_count.
embedding_in_progress
attempt_count