code: def get_knowledge_base(project_id, knowledge_base_id):
      
      import dialogflow_v2beta1 as dialogflow
      client = dialogflow.KnowledgeBasesClient()
      knowledge_base_path = client.knowledge_base_path(
          project_id, knowledge_base_id)
  
      response = client.get_knowledge_base(knowledge_base_path)
  
      print('Got Knowledge Base:')
      print(' - Display Name: {}'.format(response.display_name))
      print(' - Knowledge ID: {}'.format(response.name))
docs: Gets a specific Knowledge base.
  
      Args:
          project_id: The GCP project linked with the agent.
          knowledge_base_id: Id of the Knowledge base.