Skip to content

Asistente basado en Neo4j y LangGraph para responder preguntas sobre gestión de redes mediante consultas Cypher generadas dinámicamente.

License

Notifications You must be signed in to change notification settings

dominpm/GraphRAG_networking

Repository files navigation

GraphRAG App

This application is a multi-agent system connected to a Neo4j graph database for network management. It uses Chainlit for chat interactions and requires an OpenAI API key for operation. Based on LangGraph's implementation for Neo4j connection.

Setup

  1. Set up the environment variables:

    • Navigate to the llms_graphs folder.
    • Rename the .env.empty file to .env.
    • Open the .env file and set your OpenAI API key and Neo4j database credentials:
      OPENAI_API_KEY=your_openai_api_key_here
      NEO4J_URI=bolt://localhost:7687
      NEO4J_USERNAME=your_neo4j_username
      NEO4J_PASSWORD=your_neo4j_password
      NEO4J_DATABASE=your_neo4j_database_name
      
  2. Install dependencies:

    • Ensure you have all the required dependencies installed. You can use pip to install them:
      pip install -r requirements.txt

Running the Application

To start the application, simply run the following command:

chainlit run chatapp.py

This will start the Chainlit server and you can interact with the system through the chat interface.

Additional Information

  • The application visualizes the Neo4j graph and generates responses based on the database schema and user queries.
  • Make sure your Neo4j database is running and accessible.

Enjoy using the GraphRAG App!

About

Asistente basado en Neo4j y LangGraph para responder preguntas sobre gestión de redes mediante consultas Cypher generadas dinámicamente.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages