Skip to content

[Search] Answers Should be Defined as a String, Not an Enum #13933

Open
@alzimmermsft

Description

@alzimmermsft

The Answers definition, both the SearchOptions query parameters and SearchRequest JSON property, should be redefined as just a string type and not an enum type.

The reason for this is that with the current definition these will only be able to support passing the defined enum value, currently none or extractive, and won't be able to support passing the additional count-<# of answers> modifier to change the search from only returning a single answers for each one (documentation for the search request).

Metadata

Metadata

Assignees

No one assigned

    Labels

    SearchService AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions