Skip to content

[Inference API] IBM watsonx integration does not include RERANK in supported task types #140328

@DonalEvans

Description

@DonalEvans

In IbmWatsonxService, the set of supported task types is defined as:

    private static final EnumSet<TaskType> supportedTaskTypes = EnumSet.of(
        TaskType.TEXT_EMBEDDING,
        TaskType.COMPLETION,
        TaskType.CHAT_COMPLETION
    );

This does not include the RERANK task type, despite it being implemented for the IBM watsonx service.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions