Skip to content

Commit

Permalink
[azopenai] 2024-08-01-preview generation (#23554)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpark-msft authored Oct 11, 2024
1 parent 42922c1 commit 9522165
Show file tree
Hide file tree
Showing 28 changed files with 1,964 additions and 434 deletions.
2 changes: 1 addition & 1 deletion eng/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
{
"Name": "azopenai",
"CoverageGoal": 0.18
"CoverageGoal": 0.16
},
{
"Name": "ai/azopenaiassistants",
Expand Down
29 changes: 25 additions & 4 deletions sdk/ai/azopenai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Release History

## 0.7.0 (2024-10-14)

### Features Added

- MongoDBChatExtensionConfiguration has been added as an "On Your Data" data source.
- Several types now have union types for their content or dependency information:
- ChatRequestAssistantMessage.Content is now a ChatRequestAssistantMessageContent.
- ChatRequestSystemMessage.Content is now a ChatRequestSystemMessageContent.
- ChatRequestToolMessage.Content is now a ChatRequestToolMessageContent.
- MongoDBChatExtensionParameters.EmbeddingDependency is now a MongoDBChatExtensionParametersEmbeddingDependency

### Breaking Changes

- FunctionDefinition has been renamed to ChatCompletionsFunctionToolDefinitionFunction.
- AzureCosmosDBChatExtensionParameters.RoleInformation has been removed.
- AzureMachineLearningIndexChatExtension and related types have been removed.
- Several types now have union types for their content or dependency information:
- ChatRequestAssistantMessage.Content is now a ChatRequestAssistantMessageContent.
- ChatRequestSystemMessage.Content is now a ChatRequestSystemMessageContent.
- ChatRequestToolMessage.Content is now a ChatRequestToolMessageContent.

## 0.6.2 (2024-09-10)

### Features Added
Expand All @@ -8,8 +29,8 @@

### Breaking Changes

- FunctionDefinition.Parameters has been changed to take JSON instead of an object/map. You can set it using code
similar to this:
- FunctionDefinition.Parameters has been changed to take JSON instead of an object/map. You can set it using code
similar to this:

```go
parametersJSON, err := json.Marshal(map[string]any{
Expand All @@ -22,7 +43,7 @@ similar to this:
},
},
})

if err != nil {
// TODO: Update the following line with your application specific error handling logic
log.Printf("ERROR: %s", err)
Expand All @@ -45,7 +66,7 @@ similar to this:

### Bugs Fixed

- Client now respects the `InsecureAllowCredentialWithHTTP` flag for allowing non-HTTPS connections. Thank you @ukrocks007! (PR#23188)
- Client now respects the `InsecureAllowCredentialWithHTTP` flag for allowing non-HTTPS connections. Thank you @ukrocks007! (PR#23188)

## 0.6.0 (2024-06-11)

Expand Down
2 changes: 1 addition & 1 deletion sdk/ai/azopenai/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "go",
"TagPrefix": "go/ai/azopenai",
"Tag": "go/ai/azopenai_920fad77c4"
"Tag": "go/ai/azopenai_7a8e2ce4c8"
}
Loading

0 comments on commit 9522165

Please sign in to comment.