Unveiling the Mahabharata's Web: A Graph & Chatbot Odyssey (Powered by Python, Neo4j & Gemini)





Embark on a data-driven journey through the Mahabharata! This session explores a Python-built chatbot that leverages the power of graph databases, chatbots, and Gen-AI to unlock the epic's intricate relationships in a novel way.

This session delves into a unique project that utilizes the power of graph databases, chatbots, and AI to unlock a fresh perspective on the Mahabharata. We'll explore how:

  • Python scripts and Neo4j Python driver were used to fetch a comprehensive graph of characters and their relationships within the epic, leveraging the capabilities of Neo4j.
  • Gradio for Chatbot Development: We'll explore the utilization of Gradio, a Python web framework, to build a user-friendly chatbot interface. This interface allows users to interact with the Neo4j graph through natural language queries.
  • Unlocking Cypher with Gemini: We'll discuss the innovative integration of Google's Gemini API. This large language model acts as a bridge, translating natural language user queries into efficient Cypher queries, the language for interacting with Neo4j. This empowers users with a more intuitive way to explore the graph.

Benefits for Attendees:

  • Learn practical techniques for graph database modeling with Python and Neo4j.
  • Gain hands-on experience building a chatbot using Gradio.
  • Discover the potential of Gen-AI for interactive storytelling and data exploration with Gemini.
  • Deepen their understanding of the Mahabharata through a novel lens.

Join me on this exciting journey as I explore the power of Python, graph databases, and Gen-AI to unlock the hidden depths of the Mahabharata!


Basic understanding of Python and data structures.

Content URLs:

  • Github Repo: https://github.com/sidagarwal04/mahabharata-genai
    • Part-1 Blog: https://sidagarwal04.medium.com/unveiling-the-mahabharatas-web-a-graph-journey-using-neo4j-from-epic-relationships-to-7be4a7a29b6d
    • Part-2 Blog: https://medium.com/@sidagarwal04/bringing-the-mahabharata-epic-to-life-a-neo4j-powered-chatbot-using-google-gemini-part-2-6eef8676e757

Speaker Info:

Hello, I'm Sid Agarwal, currently leading Developer Communities for APAC at Neo4j. Formerly, I pioneered India's first fintech community as the 'Developer Relations Lead' at Open Financial Technologies. Prior to that, I spearheaded community efforts as a Program Manager with Google's Developer Relations team in India, overseeing programs like Developer Student Clubs, TensorFlow User Groups, Google Developer Groups, and Google Developer Experts. In 2019, I collaborated with the Ministry of Electronics & Information Technology, Government of India, to launch 'Build for Digital India,' engaging 7,000+ students in solving India's challenges. I'm passionate about design thinking and enjoy mentoring startups to enhance their UX and designs. Recognized as one of ACM's Distinguished Speakers, my career of roughly a decade is dedicated to building, scaling, and growing communities in India, launching ed-tech initiatives, fostering design innovation, and contributing to the startup ecosystem. In 2021, I was nominated as a finalist for the CMX Community Industry Awards for my role in community building. As an avid public speaker, I've shared insights at over 1,000 national and international forums, reaching 300K+ individuals.

Speaker Links:

  • Github: https://github.com/sidagarwal04
    • YouTube recordings: https://www.youtube.com/playlist?list=PLSw4ttUqWj85SA4XfXP7jNPvOryy5PPPl
    • Medium: https://sidagarwal04.medium.com/
    • Linkedin: https://www.linkedin.com/in/sidagarwal04/
    • Twitter: https://twitter.com/sidagarwal04

Section: Artificial Intelligence and Machine Learning
Type: Talk
Target Audience: Intermediate
Last Updated: