You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/ai/azopenai/CHANGELOG.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,21 @@
1
1
# Release History
2
2
3
-
## 0.7.3 (Unreleased)
3
+
## 0.8.0 (Unreleased)
4
4
5
5
### Features Added
6
6
7
7
### Breaking Changes
8
8
9
+
This library has been updated to function as a companion to the [official OpenAI Go client library](https://github.com/openai/openai-go). It provides types and functions that allow interaction with Azure-specific extensions available in the Azure OpenAI service.
10
+
11
+
See the [migration guide](https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/ai/azopenai/MIGRATION.md) for details on how to update your code to use this library alongside the official OpenAI Go client.
12
+
9
13
### Bugs Fixed
10
-
- Fixed a problem that filename would be empty if not explicitly specified in the `UploadFile` operation. (PR#24171)
11
14
12
15
### Other Changes
13
16
17
+
- Updating to `v0.1.0-beta.7` of the [OpenAI go module](https://github.com/openai/openai-go).
Copy file name to clipboardExpand all lines: sdk/ai/azopenai/CONTRIBUTING.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@
4
4
5
5
This is a contributing guide for the `azopenai` package. For general contributing guidelines refer to [CONTRIBUTING.md](https://github.com/Azure/azure-sdk-for-go/blob/main/CONTRIBUTING.md).
6
6
7
-
The `azopenai` package can be used with either Azure OpenAI or OpenAI's public service. New features are added using our code generation process, specified using TypeSpec [TypeSpec](https://github.com/Microsoft/typespec), which details all the models and protocol methods for using OpenAI.
7
+
The `azopenai` package can be used with either Azure OpenAI's public service. New features are added using our code generation process, specified using TypeSpec [TypeSpec](https://github.com/Microsoft/typespec), which details all the models and protocol methods for using OpenAI.
8
8
9
9
### Prerequisites
10
10
11
11
For code fixes that do not require code generation:
12
-
-[Supported](https://aka.ms/azsdk/go/supported-versions) version of Go
12
+
-Go 1.21 (or greater)
13
13
14
14
For code generation:
15
15
-[NodeJS (use the latest LTS)](https://nodejs.org)
@@ -22,9 +22,7 @@ For code generation:
22
22
23
23
## Generating from TypeSpec
24
24
25
-
The `Client` is primarily generated from TypeSpec, with some handwritten code where we've changed the interface to match Azure naming conventions (for instance, we refer to Models as Deployments). Files that do not have `custom` (ex: `client.go`, `models.go`, `models_serde.go`, etc..) are generated.
26
-
27
-
Files that have `custom` in the name are handwritten (ex: `custom_client_audio.go`), while files that do not (ex: `client.go`, `models.go`, `models_serde.go`, etc..) are generated.
25
+
The models in this package generated from TypeSpec. Files that do not have `custom` (ex: `client.go`, `models.go`, `models_serde.go`, etc..) are generated.
28
26
29
27
### Regeneration
30
28
@@ -53,7 +51,7 @@ There are three kinds of tests for this package: unit tests, recorded tests and
53
51
54
52
## Unit and recorded tests
55
53
56
-
Unit tests and recorded tests do not require access to OpenAI to run and will run with any PR as a check-in gate.
54
+
Unit tests and recorded tests do not require access to OpenAI to run and will run with any PR as a check-in gate.
57
55
58
56
Recorded tests require the Azure SDK test proxy is running. See the instructions for [installing the test-proxy](https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md#installation).
59
57
@@ -96,7 +94,7 @@ git push
96
94
97
95
### Local development
98
96
99
-
Copy the `sample.env` file to `.env`, and fill out all the values. Each value is documented to give you a general idea of what's needed, but ultimately you'll need to work with the Azure OpenAI SDK team to figure out which services are used for which features.
97
+
Copy the `sample.env` file to `.env`, and fill out all the values. Each value is documented to give you a general idea of what's needed, but ultimately you'll need to work with the Azure OpenAI SDK team to figure out which services are used for which features.
100
98
101
99
Once filled out, the tests will automatically load environment variables from the `.env`:
0 commit comments