Adding Flesch-Kincaid Score to OpenAI Generated Articles

AC 80 Reputation points
2024-09-25T08:34:09.6633333+00:00

Is it possible to include the Flesch-Kincaid score when requesting OpenAI to generate an article? Also, is there a way to teach OpenAI to adjust the output article's score to a specific value?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,132 questions
{count} votes

Accepted answer
  1. SriLakshmi C (Quadrant Resource LLC) 345 Reputation points Microsoft Vendor
    2024-09-25T13:16:36.6633333+00:00

    Hello AC,

    Greetings, Thank you for reaching out to Microsoft Q&A forum!

    OpenAI doesn’t provide a built-in way to calculate the Flesch-Kincaid score directly. You can, however, calculate it yourself after generating the text. 

    To adjust the output article's score, you could guide the model by refining your prompts. For example, if the score needs to be lower (simpler), ask for shorter sentences and simpler words. If it needs to be higher (more complex), prompt for longer sentences and more advanced vocabulary.

    Please do let me know if you have further queries. Thank you!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.