Skip to main content

Step 1: HelixDB Setup

  1. Create a folder for the project
  2. Initialise HelixDB

Step 2: Building our Graph Schema

schema.hx:
Great! We’ve made the schema for our graph. Now lets think about the types of queries for ingesting our professors data.

Step 3: Building our Queries

Lets build the queries to put our professor data into HelixDB, based on the JSON and schema we have. query.hx:
Now we need to link professors to other nodes:
Now let’s create our embedding nodes, in this guide, we only will embed the professor’s research area.
We need to be able to search for professors based on their embeddings. So we can use the SearchV operation to search for similar embeddings.
Awesome! We’ve built our graph schema and queries. Now how do query this in Python?