Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(recommendations): create database interface #29

Open
azolus opened this issue Jun 20, 2023 · 2 comments
Open

feat(recommendations): create database interface #29

azolus opened this issue Jun 20, 2023 · 2 comments
Assignees
Labels
feature New feature or request

Comments

@azolus
Copy link
Contributor

azolus commented Jun 20, 2023

To realize user-personalized event recommendations, maevsi needs to provide a simple interface to get the relevant data for computations:

table 1:
event id, event name, event type (optional)

table 2:
user id, event id, rating

It would be desirable if i could dump all the available data simultaneously to set things up. incremental updates would also be useful for later

@dargmuesli dargmuesli self-assigned this Jun 20, 2023
@dargmuesli dargmuesli added the feature New feature or request label Jun 20, 2023
@dargmuesli
Copy link
Member

Sure thing! You can already get event ids and names at https://postgraphile.maev.si/graphiql using the following query:

query allEvents {
  allEvents {
    nodes {
      name
      id
    }
  }
}

A similar query for "all contacts" is currently not possible as accounts are not part of the public database schema. So let's turn this issue into a task to make that data public!

@myyxl
Copy link
Contributor

myyxl commented Jun 20, 2023

@azolus, I can help you getting the database data

@dargmuesli dargmuesli changed the title feat(recommendations): create database interface for recommendations feat(recommendations): create database interface Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants