Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Shang committed Dec 20, 2024
1 parent efe438d commit bf35fc5
Showing 1 changed file with 25 additions and 27 deletions.
52 changes: 25 additions & 27 deletions notebook/agentchat_graph_rag_neo4j.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -247,22 +247,22 @@
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[33muser_proxy\u001b[0m (to buzz_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to buzz_agent):\n",
"\n",
"Which company is the employer?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mbuzz_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mbuzz_agent\u001B[0m (to user_proxy):\n",
"\n",
"The employer is BUZZ Co.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to buzz_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to buzz_agent):\n",
"\n",
"What policies does it have?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mbuzz_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mbuzz_agent\u001B[0m (to user_proxy):\n",
"\n",
"BUZZ Co. has several policies, including:\n",
"\n",
Expand All @@ -286,32 +286,32 @@
"These policies cover a wide range of employment aspects, from leave and separation to confidentiality and security.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to buzz_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to buzz_agent):\n",
"\n",
"What's Buzz's equal employment opprtunity policy?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mbuzz_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mbuzz_agent\u001B[0m (to user_proxy):\n",
"\n",
"The specific content of BUZZ Co.'s Equal Employment Opportunity policy is not provided in the document. However, it is mentioned that BUZZ Co. has an Equal Employment Opportunity policy, which typically would state the company's commitment to providing equal employment opportunities and non-discrimination in the workplace.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to buzz_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to buzz_agent):\n",
"\n",
"What does Civic Responsibility state?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mbuzz_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mbuzz_agent\u001B[0m (to user_proxy):\n",
"\n",
"The document does not provide any information about a Civic Responsibility policy. Therefore, I don't have details on what BUZZ Co.'s Civic Responsibility might state.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to buzz_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to buzz_agent):\n",
"\n",
"Does Donald Trump work there?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mbuzz_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mbuzz_agent\u001B[0m (to user_proxy):\n",
"\n",
"The document does not provide any information about specific individuals, including whether Donald Trump works at BUZZ Co. Therefore, I don't have any details on the employment of Donald Trump at BUZZ Co.\n",
"\n",
Expand Down Expand Up @@ -486,22 +486,22 @@
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[33muser_proxy\u001b[0m (to rag_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to rag_agent):\n",
"\n",
"Which company is the employer?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mrag_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mrag_agent\u001B[0m (to user_proxy):\n",
"\n",
"The employer is BUZZ Co.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to rag_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to rag_agent):\n",
"\n",
"What polices does it have?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mrag_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mrag_agent\u001B[0m (to user_proxy):\n",
"\n",
"BUZZ Co. has several policies outlined in its Employee Handbook, including:\n",
"\n",
Expand Down Expand Up @@ -529,22 +529,22 @@
"These policies are designed to guide employees in their conduct and responsibilities at BUZZ Co.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to rag_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to rag_agent):\n",
"\n",
"What does Civic Responsibility state?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mrag_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mrag_agent\u001B[0m (to user_proxy):\n",
"\n",
"The Civic Responsibility policy at BUZZ Co. states that the company will pay employees the difference between their salary and any amount paid by the government, unless prohibited by law, for up to a maximum of ten days of jury duty. Additionally, BUZZ Co. will pay employees the difference between their salary and any amount paid by the government or any other source for serving as an Election Day worker at the polls on official election days, not to exceed two elections in one given calendar year.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to paul_graham_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to paul_graham_agent):\n",
"\n",
"Which policy listed above does civic responsibility belong to?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mpaul_graham_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mpaul_graham_agent\u001B[0m (to user_proxy):\n",
"\n",
"The Civic Responsibility policy belongs to the \"Leave Benefits and Other Work Policies\" section of the BUZZ Co. Employee Handbook.\n",
"\n",
Expand Down Expand Up @@ -585,9 +585,7 @@
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Incrementally add new documents to the existing knoweldge graph!"
]
"source": "### Incrementally add new documents to the existing knoweldge graph."
},
{
"cell_type": "code",
Expand Down Expand Up @@ -642,12 +640,12 @@
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[33muser_proxy\u001b[0m (to rag_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to rag_agent):\n",
"\n",
"What is Equal Employment Opportunity Policy at BUZZ?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mrag_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mrag_agent\u001B[0m (to user_proxy):\n",
"\n",
"The Equal Employment Opportunity (EEO) and Anti-Discrimination Policy at BUZZ Co. is designed to ensure full compliance with all applicable anti-discrimination laws and regulations. BUZZ Co. is an equal opportunity employer and strictly prohibits any form of discrimination or harassment. The policy ensures equal employment opportunities for all employees and applicants, regardless of race, color, religion, sex, sexual orientation, gender identity or expression, pregnancy, age, national origin, disability status, genetic information, protected veteran status, or any other legally protected characteristic.\n",
"\n",
Expand All @@ -656,12 +654,12 @@
"BUZZ Co. enforces this policy by posting required notices, including EEO statements in job advertisements, posting job openings with state agencies, and prohibiting retaliation against individuals who report discrimination or harassment. Employees are required to report incidents of discrimination or harassment, which are promptly investigated, and appropriate corrective action is taken.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to rag_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to rag_agent):\n",
"\n",
"What is prohibited sexual harassment stated in the policy?\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mrag_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mrag_agent\u001B[0m (to user_proxy):\n",
"\n",
"Prohibited sexual harassment, as stated in BUZZ Co.'s policy, includes unwelcome sexual advances, requests for sexual favors, and other verbal or physical conduct of a sexual nature. Such conduct is considered prohibited sexual harassment when:\n",
"\n",
Expand All @@ -672,12 +670,12 @@
"The policy also encompasses any unwelcome conduct based on other protected characteristics, such as race, color, religion, sex, sexual orientation, gender identity or expression, pregnancy, age, national origin, disability status, genetic information, or protected veteran status. Such conduct becomes unlawful when continued employment is made contingent upon the employee's toleration of the offensive conduct, or when the conduct is so severe or pervasive that it creates a work environment that would be considered intimidating, hostile, or abusive by a reasonable person.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33muser_proxy\u001b[0m (to paul_graham_agent):\n",
"\u001B[33muser_proxy\u001B[0m (to paul_graham_agent):\n",
"\n",
"List the name of 5 other policies at Buzz.\n",
"\n",
"--------------------------------------------------------------------------------\n",
"\u001b[33mpaul_graham_agent\u001b[0m (to user_proxy):\n",
"\u001B[33mpaul_graham_agent\u001B[0m (to user_proxy):\n",
"\n",
"Certainly! Here are five other policies at BUZZ Co.:\n",
"\n",
Expand Down

0 comments on commit bf35fc5

Please sign in to comment.