dylanreedx / latent

Learn and study better with AI and science.
https://latentapp.vercel.app
1 stars 0 forks source link

RAG context #4

Closed dylanreedx closed 4 months ago

dylanreedx commented 5 months ago

i'm going to have to think about this more. there has to be more than one snippet from a PDF passed into the context in the prompt especially for longer quizzes.

maybe show context being used per quiz or question?

it's probably here to get more/less context

const queryResult = await index.query({
    vector: embedding,
    topK: 5,
    includeMetadata: true,
  });
dylanreedx commented 4 months ago

with most information, LLMs are already knowledgable. Though when a student does upload their lecture slides, they get the custom assessment depending on how its taught.