dartmouth-cs98-23f / project-short-learning

project-short-learning created by GitHub Classroom
0 stars 0 forks source link

Topics and Cross Affinities #162

Open linkevin281 opened 6 months ago

linkevin281 commented 6 months ago

Topics and Cross Affinities

Requirements

1. Topics

We need a source of truth for our topics. As in. We have a list of topics, each topic gets a specific index number.

Backend: 1 ML: 2 Javascript: 3 Javascript Async: 4 LLMs: 5 etc.

This source of truth should be immutable (basically) and stored as a JSON file in our backend github repo.

2. Cross Affinity and Complexity

We need to have some related value between Javascript -> Javascript Async and Javascript Async -> Javascript and LLMs -> Javscript Async. Each possible relationship will have an { Affinity } (how closely related are the topics) and a { Complexity } (how much more complex is the topic). 2*(N^2) relationships will be stored, each topic mapping to all N other topics.

We want these relationships (ex. backend = [backend, ML, javascript, javascript async, llms]) stored as an array following the indexes above. Please generate these values using GPT4. Be careful with prompting, we can very likely get great outputs! Some other values to store:

topic object { name index complexityRelations affinityRelations top10Affinities }

Start with topics found in #133. Please fill out more as more are added, this does not need to be automated. However, as we add more relationships, our query should have previous context values as well.