Skip to content

Conversation

@abhitrueprogrammer
Copy link
Collaborator

Changes:

  • create a route to upload pdf or image that calls AI from mistral.ts to get tags.
  • Get the first page of the pdf as image or get the first image that the user uploaded
  • Refactored analyzeImages to take in images instead of image directory.
  • Created the processAndAnalyze function that takes in the encoded image and splits our the analyzed results using analyze Images function
  • Created a function that renders 1st page of pdf to img.
    • Special thanks to @mglsj for suggesting putting this function on client side, without which this pr wouldn't be there
  • Other chores and goodies that I can't remember

@NishantGupt786 NishantGupt786 merged commit 6baab2e into CodeChefVIT:staging Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants