async checkForUpdates() {
    try {
      const response = await axios.post(`${this.baseUrl}/indexing/check`);
      return response.data;
    } catch (error) {
      console.error('Error checking for updates:', error);
      throw error;
    }
  }
Check if the RAG service needs document updates
@returns {Promise<{needs_update: boolean, message: string}>}