Skip to content

Validation: OpenAI query relevance checker #127

Description

@rkritika1508

Is your feature request related to a problem?
We need a way to assess the relevance of queries effectively. Currently, there's no validator that utilizes OpenAI to evaluate query relevance based on specific prompts.

Describe the solution you'd like

  • Create a topic relevance validator using OpenAI.
  • Implement a custom prompt to determine query relevance.

Describe alternatives you've considered
Considered potential in-house solutions but they lack the efficiency of leveraging OpenAI's capabilities.

Additional context
None provided.

Original issue

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Create a topic relevance OpenAI based validator which calls the OpenAI using custom prompt to determine whether a query is relevant or not.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions