Skip to content

/analyze endpoint #1

Description

@sigani

(lowkey thought that issues was like scrum user story planning but i dont think it is lol. might be more of a feature level thing.....)

"as a user, i would like to take a picture of my fridge/pantry/food and have recipie suggestions to reduce food waste and promote better eating"

GET /analyze endpoint inside Program.cs
Currently mocked

Probably just need to think of prompt to tell gemini and also send photo
Very important to also tell the model to shape the response exactly like our AnalyzeResponse.cs class.

If model asks for followups (e.g what food is that, how many x do you have, etc...), we would need to resend the entire response with the corrections (think of the model as an REST api; stateless). That might require us to change the AnalyzeRequest,cs class, i don't remember the layout :'3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions