Skip to content

GenAI Model capabilities are mismatched SDK vs CLI #809

@rriley99-oci

Description

@rriley99-oci

Per the code snippet here,
capability, must be one of ['TEXT_TO_TEXT', 'IMAGE_TEXT_TO_TEXT', 'EMBEDDING', 'RERANK'] for the sdk's list_models request.

However the result of list models does not adhere to the same constraints in the cli (v3.71.0):
oci generative-ai model-collection list-models
returns various models with capabilities such as "CHAT" or "TEXT_EMBEDDING" which are from the previous version of the sdk (2.150.3 -> 2.163.1).

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