Skip to content

Commit

Permalink
Merge pull request #213 from ag2ai/update_notebooks
Browse files Browse the repository at this point in the history
Add Neo4j GraphRAG notebook to website
  • Loading branch information
AgentGenie authored Dec 13, 2024
2 parents 5bfee31 + f6308ce commit 1e51b1f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions notebook/agentchat_graph_rag_neo4j.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"\n",
"import autogen\n",
"\n",
"config_list = autogen.config_list_from_json(env_or_file=\"OAI_CONFIG_LIST\", file_location=\".\")\n",
"config_list = autogen.config_list_from_json(env_or_file=\"OAI_CONFIG_LIST\")\n",
"\n",
"# Put the OpenAI API key into the environment\n",
"os.environ[\"OPENAI_API_KEY\"] = config_list[0][\"api_key\"]"
Expand Down Expand Up @@ -446,8 +446,14 @@
}
],
"metadata": {
"front_matter": {
"description": "Neo4j GraphRAG utilises a knowledge graph and can be added as a capability to agents.",
"tags": [
"RAG"
]
},
"kernelspec": {
"display_name": "ag2neo4j",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -461,7 +467,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.1"
"version": "3.11.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 1e51b1f

Please sign in to comment.