This commit is contained in:
azure-sdk 2024-02-14 02:04:09 +00:00
Родитель 45f1657449
Коммит ae1cc44adb
2 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure OpenAI: OpenAI Assistants client library for Java
keywords: Azure, java, SDK, API, azure-ai-openai-assistants, openai
ms.date: 02/07/2024
ms.date: 02/14/2024
ms.topic: reference
ms.devlang: java
ms.service: openai
---
# Azure OpenAI: OpenAI Assistants client library for Java - version 1.0.0-beta.1
# Azure OpenAI: OpenAI Assistants client library for Java - version 1.0.0-beta.2
The Azure OpenAI Assistants client library for Java is an adaptation of OpenAI's REST APIs that provides an idiomatic interface
@ -34,7 +34,7 @@ Use this library to:
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-openai-assistants</artifactId>
<version>1.0.0-beta.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -140,7 +140,7 @@ do {
Assuming the run successfully completed, listing messages from the thread that was run will now reflect new information
added by the assistant:
```java readme-sample-listMessagesAfterRun
OpenAIPageableListOfThreadMessage messages = client.listMessages(run.getThreadId());
PageableList<ThreadMessage> messages = client.listMessages(run.getThreadId());
List<ThreadMessage> data = messages.getData();
for (int i = 0; i < data.size(); i++) {
ThreadMessage dataMessage = data.get(i);
@ -325,7 +325,7 @@ reduce the dependency size, refer to the [performance tuning][performance_tuning
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai-assistants_1.0.0-beta.1/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai-assistants_1.0.0-beta.2/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
@ -335,14 +335,14 @@ For details on contributing to this repository, see the [contributing guide](htt
<!-- LINKS -->
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
[logLevels]: https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai-assistants_1.0.0-beta.1/sdk/core/azure-core/src/main/java/com/azure/core/util/logging/ClientLogger.java
[logLevels]: https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai-assistants_1.0.0-beta.2/sdk/core/azure-core/src/main/java/com/azure/core/util/logging/ClientLogger.java
[non_azure_openai_authentication]: https://platform.openai.com/docs/api-reference/authentication
[performance_tuning]: https://github.com/Azure/azure-sdk-for-java/wiki/Performance-Tuning
[samples_readme]: https://github.com/Azure/azure-sdk-for-java/tree/azure-ai-openai-assistants_1.0.0-beta.1/sdk/openai/azure-ai-openai-assistants/src/samples
[samples_readme]: https://github.com/Azure/azure-sdk-for-java/tree/azure-ai-openai-assistants_1.0.0-beta.2/sdk/openai/azure-ai-openai-assistants/src/samples
[azure_openai_access]: https://learn.microsoft.com/azure/cognitive-services/openai/overview#how-do-i-get-access-to-azure-openai
[azure_subscription]: https://azure.microsoft.com/free/
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai-assistants_1.0.0-beta.1/sdk/identity/azure-identity
[function_tool_call_full_sample]: https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai-assistants_1.0.0-beta.1/sdk/openai/azure-ai-openai-assistants/src/samples/java/com/azure/ai/openai/assistants/FunctionToolCallSample.java
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai-assistants_1.0.0-beta.2/sdk/identity/azure-identity
[function_tool_call_full_sample]: https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-openai-assistants_1.0.0-beta.2/sdk/openai/azure-ai-openai-assistants/src/samples/java/com/azure/ai/openai/assistants/FunctionToolCallSample.java
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fopenai%2Fassistants%2Fazure-ai-openai-assistants%2FREADME.png)

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-ai-openai-assistants",
"Version": "1.0.0-beta.1",
"Version": "1.0.0-beta.2",
"DevVersion": null,
"DirectoryPath": "sdk/openai/azure-ai-openai-assistants",
"ServiceDirectory": "openai",
@ -10,5 +10,5 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-ai-openai-assistants",
"ReleaseStatus": "2024-02-07"
"ReleaseStatus": "2024-02-13"
}