Skip to content

Commit 3b53f3f

Browse files
authored
Update TypeSpec Java emitter version (Azure#35386)
1 parent cc87598 commit 3b53f3f

16 files changed

+16
-16
lines changed

eng/emitter-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"main": "dist/src/index.js",
33
"dependencies": {
4-
"@azure-tools/typespec-java": "0.7.3"
4+
"@azure-tools/typespec-java": "0.8.0"
55
}
66
}

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/ChatChoice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Generated;
@@ -16,6 +15,7 @@
1615
*/
1716
@Immutable
1817
public final class ChatChoice {
18+
1919
/*
2020
* The chat message for a given chat completions prompt.
2121
*/

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/ChatCompletions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Generated;
@@ -16,6 +15,7 @@
1615
*/
1716
@Immutable
1817
public final class ChatCompletions {
18+
1919
/*
2020
* A unique identifier associated with this chat completions response.
2121
*/

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/ChatCompletionsOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Fluent;
@@ -17,6 +16,7 @@
1716
*/
1817
@Fluent
1918
public final class ChatCompletionsOptions {
19+
2020
/*
2121
* The collection of context messages associated with this chat completions request.
2222
* Typical usage begins with a chat message for the System role that provides instructions for

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/ChatMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Fluent;
@@ -12,6 +11,7 @@
1211
/** A single, role-attributed message within a chat completion interaction. */
1312
@Fluent
1413
public final class ChatMessage {
14+
1515
/*
1616
* The role associated with this message payload.
1717
*/

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/ChatRole.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Generated;
@@ -11,6 +10,7 @@
1110

1211
/** A description of the intended purpose of a message within a chat completions interaction. */
1312
public final class ChatRole extends ExpandableStringEnum<ChatRole> {
13+
1414
/** The role that instructs or sets the behavior of the assistant. */
1515
@Generated public static final ChatRole SYSTEM = fromString("system");
1616

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/Choice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Generated;
@@ -16,6 +15,7 @@
1615
*/
1716
@Immutable
1817
public final class Choice {
18+
1919
/*
2020
* The generated text for a given completions prompt.
2121
*/

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/Completions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Generated;
@@ -16,6 +15,7 @@
1615
*/
1716
@Immutable
1817
public final class Completions {
18+
1919
/*
2020
* A unique identifier associated with this completions response.
2121
*/

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/CompletionsFinishReason.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Generated;
@@ -11,6 +10,7 @@
1110

1211
/** Representation of the manner in which a completions response concluded. */
1312
public final class CompletionsFinishReason extends ExpandableStringEnum<CompletionsFinishReason> {
13+
1414
/** Completions ended normally and reached its end of token generation. */
1515
@Generated public static final CompletionsFinishReason STOPPED = fromString("stopped");
1616

sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/models/CompletionsLogProbabilityModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) AutoRest Code Generator.
4-
54
package com.azure.ai.openai.models;
65

76
import com.azure.core.annotation.Generated;
@@ -14,6 +13,7 @@
1413
/** Representation of a log probabilities model for a completions generation. */
1514
@Immutable
1615
public final class CompletionsLogProbabilityModel {
16+
1717
/*
1818
* The textual forms of tokens evaluated in this probability model.
1919
*/

0 commit comments

Comments
 (0)