FacVain / dil-asistanim

1 stars 0 forks source link

Open Endpoint for General Statistics Suggestion. #35

Open FacVain opened 4 months ago

FacVain commented 4 months ago

Task Description

Open an endpoint so that frontend can send requests to get Suggestions based on General Statistics.

Implementation Details

Create an endpoint under the appropriate route that takes requests with user input. Develop a system that sends the statistics prompt to a GPT-request module and gets correct responses. Respond to the request with a suggestion as a JSON object.

Design and Tasks

Expected Output

A Json object with the suggestion field { "suggestion": String }

Acceptance Criteria

The function should reliably and correctly return the appropriate suggestion from general statistics.