FacVain / dil-asistanim

1 stars 0 forks source link

Create prompt for Serbest Yazı Writing Pattern #21

Open FacVain opened 4 months ago

FacVain commented 4 months ago

Task Description

Create prompt for Serbest Yazı Writing Pattern. Add prompt and zod schema for Serbest Yazı Writing Pattern to schemas.js file.

Implementation Details

Create prompt and zod schema for Serbest Yazı Writing Pattern and add it to schemas.js file. Using the created schema and with the function calling method GPT model should be able to create desired outputs. Model should be able to give Rewritten input text in a given tone. It should also give detailed suggestions to user on how to communicate more effectively and in given tone by analyzing input text. Create zod object with following fields: sentimentAnalysis: z.enum(z.string()) toneAnalysis: z.array(z.enum(z.string())) rewrittenTextFromUserText: z.string() suggestionForUserText: z.string()

Acceptance Criteria

Using created schema and prompt GPT model should be able to create desired outputs.

Screenshots