Giter VIP home page Giter VIP logo

graphika-v1.0's Introduction

Graphika

Graphika is a user-friendly one-page interface that simplifies the process of integrating Hugging Face Language Models (LLM) with Neo4j by converting natural language input into Neo4j Cypher Queries. This library aims to provide a smooth learning curve for individuals who want to start using Neo4j's Cypher language for querying their graphs.

Features

  • Model Selection: Choose from a variety of pre-trained language models available on Hugging Face.

  • API Integration: Input your Hugging Face API key directly in the web interface for seamless model access.

  • Text Transformation: Effortlessly convert natural language input into Neo4j Cypher Queries.

Getting Started

Follow these steps to get started with Graphika:

  1. Clone the repository:

    git clone https://github.com/elmondhir/Graphika-v1.0.git
    cd Graphika
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up the Hugging Face API key:

  4. Start the application with the following command, where you can set the API key directly in the web interface:

    python -B manage.py runserver
  5. Open your browser and go to http://localhost:8000 to access the Graphika interface.

OR Running with Docker

To run Graphika using Docker, make sure Docker is installed on your machine. If not, you can download and install Docker from the official Docker website.

Follow these steps:

  1. Build the Docker image:

    docker-compose build
  2. Start the application:

    docker-compose up
  3. Open your browser and go to http://localhost:8000 to access the Graphika interface.

Usage

  1. Choose an LLM model from the available options.

  2. Enter your Hugging Face API key in the designated input field on the web page.

  3. Input your natural language text that you want to transform into a Neo4j Cypher Query.

  4. Click the "Submit" button to generate the Cypher Query.

  5. Copy the generated Cypher Query and use it in your Neo4j database.

Screenshots

Chose the model, enter the HF API and press submit

Alt text

Contributing

We welcome contributions! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

graphika-v1.0's People

Contributors

elmondhir avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.