共用方式為


OpenAIServiceVersion Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.ai.openai.OpenAIServiceVersion

public enum OpenAIServiceVersion
extends Enum<OpenAIServiceVersion>
implements ServiceVersion

Service version of OpenAIClient.

Implements

Fields

V2022_12_01

Enum value 2022-12-01.

V2023_05_15

Enum value 2023-05-15.

V2023_06_01_PREVIEW

Enum value 2023-06-01-preview.

V2023_07_01_PREVIEW

Enum value 2023-07-01-preview.

V2024_02_01

Enum value 2024-02-01.

V2024_02_15_PREVIEW

Enum value 2024-02-15-preview.

V2024_03_01_PREVIEW

Enum value 2024-03-01-preview.

V2024_04_01_PREVIEW

Enum value 2024-04-01-preview.

V2024_05_01_PREVIEW

Enum value 2024-05-01-preview.

V2024_06_01

Enum value 2024-06-01.

V2024_07_01_PREVIEW

Enum value 2024-07-01-preview.

V2024_08_01_PREVIEW

Enum value 2024-08-01-preview.

V2024_09_01_PREVIEW

Enum value 2024-09-01-preview.

V2024_10_01_PREVIEW

Enum value 2024-10-01-preview.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

getLatest()

public static OpenAIServiceVersion getLatest()

Gets the latest service version supported by this client library.

Returns

getVersion()

public String getVersion()

Returns

valueOf(String name)

public static OpenAIServiceVersion valueOf(String name)

Parameters

name
String

Returns

values()

public static OpenAIServiceVersion[] values()

Returns

Applies to