code: def delete_document(project_id, knowledge_base_id, document_id):
      
      import dialogflow_v2beta1 as dialogflow
      client = dialogflow.DocumentsClient()
      document_path = client.document_path(project_id, knowledge_base_id,
                                           document_id)
  
      response = client.delete_document(document_path)
      print('operation running:\n {}'.format(response.operation))
      print('Waiting for results...')
      print('Done.\n {}'.format(response.result()))
docs: Deletes a Document.
  
      Args:
          project_id: The GCP project linked with the agent.
          knowledge_base_id: Id of the Knowledge base.
          document_id: Id of the Document.