Skip to content

piizei/cosmosdb-llm-knowledge-graph

Repository files navigation

🌟 LLM Knowledge Graph 🌟

Transform documents into powerful knowledge graphs with LLMs and supercharge your RAG systems!

Azure CosmosDB Neo4j PostgreSQL

🎉 One Year Later Update! 🎉

SOON! Upcoming support for Azure PostgreSQL with AGE graph extension underway!

🛠️ Simplified usage thanks to advances in LangChain

💪 Performance BOOST - Now using o3-mini for SUPERIOR performance and at a lower cost!


📓 Interactive Notebooks

Explore our step-by-step journey through knowledge graphs:

  1. 🔍 Construct knowledge graph with LLM - From text to structured knowledge
  2. 🔵 Use Graph with Neo4j - Leverage the power of graph databases
  3. 🌌 Use Graph with Azure CosmosDB - Cloud-scale graph operations

🚀 Getting Started

Quick Setup:

  1. Copy .env.example file to .env
  2. Fill in your personal API keys and connection strings
  3. Run the notebooks in sequence to experience the magic!

🔧 Neo4j Setup

Running Neo4j with Docker? Don't forget to:

  • Edit the docker-compose.yml file to add a volume mount before starting
  • Watch your knowledge come alive in the graph visualization!

Happy graphing! 📊

About

Example how to construct knowledge graph from document with LLM (Langchain), and use it with CosmosDB/Neo4j

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published