def list_knowledge_bases(project_id):
import dialogflow_v2beta1 as dialogflow<EOL>client = dialogflow.KnowledgeBasesClient()<EOL>project_path = client.project_path(project_id)<EOL>print('<STR_LIT>'.format(project_id))<EOL>for knowledge_base in client.list_knowledge_bases(project_path):<EOL><INDENT>print('<STR_LIT>'.format(knowledge_base.display_name))<EOL>print('<STR_LIT>'.format(knowledge_base.name))<EOL><DEDENT>
Lists the Knowledge bases belonging to a project.

    Args:
        project_id: The GCP project linked with the agent.