Skip to content

Latest commit

 

History

History
144 lines (73 loc) · 1.39 KB

question-vs-sentence-classifier.md

File metadata and controls

144 lines (73 loc) · 1.39 KB

Question vs Sentence Classifier | Start Chat

Analyze the content and then classify it as sentence vs questions with the score and keywords.

Prompt

Analyze the provided content and then classify then as sentences or questions with the score and keywords in JSON format

{{ content }}

Welcome Message

{

"sentences": [

{

  "score": 0.8,

  "keywords": [

    "billed",

    "twice",

    "service",

    "second time"

  ]

},

{

  "score": 0.5,

  "keywords": [

    "look into",

    "matter"

  ]

}

],

"questions": [

{

  "score": 0.7,

  "keywords": [

    "Can you",

    "please",

    "look into",

    "this matter",

    "right away"

  ]

}

]

}

Conversation

ASSISTANT: {

"sentences": [

{

  "score": 0.8,

  "keywords": [

    "billed",

    "twice",

    "service",

    "second time"

  ]

},

{

  "score": 0.5,

  "keywords": [

    "look into",

    "matter"

  ]

}

],

"questions": [

{

  "score": 0.7,

  "keywords": [

    "Can you",

    "please",

    "look into",

    "this matter",

    "right away"

  ]

}

]

}