Skip to content

Conversation

@elbruno
Copy link
Collaborator

@elbruno elbruno commented May 30, 2025

DETAILS

  • Updated Microsoft.CognitiveServices.Speech from 1.42.0 to 1.44.0 in Audio-01-SpeechMic.csproj.
  • Updated Microsoft.Extensions.Configuration.UserSecrets from 9.0.2 to 9.0.5 in both Audio-01-SpeechMic.csproj and Audio-02-RealTimeAudio.csproj.

elbruno added 6 commits May 30, 2025 10:16
DETAILS

- Switched from `AgentsClient` to `PersistentAgentsClient`.
- Updated model version from "gpt-4o-mini" to "gpt-4.1".
- Refined agent instructions for clarity.
- Standardized polling delay to 500 milliseconds.
- Added `Azure.AI.Agents.Persistent` package and updated `Azure.AI.Projects` version.
- Corrected typo in `CityInfo.getParksAtLocationTool` description.
- Updated `Spectre.Console` package version across multiple projects.
DETAILS

- Transitioned to `Azure.AI.Agents.Persistent` namespace for agent management.
- Added user secrets configuration for secure tenant ID and endpoint retrieval.
- Replaced `AgentsClient` with `PersistentAgentsClient` for persistent operations.
- Changed OpenAPI spec reading from string to byte array for improved handling.
- Updated agent creation to use the new persistent client and changed model version to "gpt-4.1".
- Enhanced thread creation and message handling with the persistent client.
- Modified response handling to utilize asynchronous pagination for messages.
- Added cleanup step to delete the agent after use to manage resources effectively.
DETAILS

Updated project files to change Microsoft.Extensions package references from version `10.0.0-preview.3.25171.5` to `9.0.5` for compatibility. Added `UserSecretsId` to `AIToolkit-02-MEAI-Chat.csproj`. Modified `Movie` class attributes from `[VectorStoreRecordKey]` to `[VectorStoreKey]` and similar changes for other properties. Refactored `Program.cs` to replace `CreateCollectionIfNotExistsAsync` with `EnsureCollectionExistsAsync` and updated search functionality to use `SearchAsync` instead of `VectorizedSearchAsync`. Upgraded several project files to use version `9.5.0` for `Microsoft.Extensions.VectorData.Abstractions` and related packages.
DETAILS

- Removed `using Microsoft.Extensions.VectorData` and added `using Microsoft.Extensions.AI` in `Program.cs`.
- Replaced `CreateCollectionIfNotExistsAsync()` with `EnsureCollectionExistsAsync()` for the `movies` collection.
- Simplified the `SearchMovieAsync` method by removing `VectorSearchOptions` and using `SearchAsync` directly.
- Updated variable names in the search results loop from `result` to `resultItem`.
- Updated `Microsoft.SemanticKernel.Connectors.AzureAISearch` package version from `1.38.0-preview` to `1.54.0-preview` in `RAGSimple-03MEAIVectorsAISearch.csproj`.
DETAILS

- Modified `QdrantVectorStore` instantiation to include a new parameter for enabling a feature.
- Changed method from `CreateCollectionIfNotExistsAsync` to `EnsureCollectionExistsAsync` for better clarity.
- Simplified search logic by directly iterating over results from `SearchAsync`, removing the need for `VectorSearchOptions`.
- Updated output variable names in search result display.
- Upgraded `Microsoft.SemanticKernel.Connectors.Qdrant` package from version `1.38.0-preview` to `1.54.0-preview`.
DETAILS

- Updated `Microsoft.CognitiveServices.Speech` from `1.42.0` to `1.44.0` in `Audio-01-SpeechMic.csproj`.
- Updated `Microsoft.Extensions.Configuration.UserSecrets` from `9.0.2` to `9.0.5` in both `Audio-01-SpeechMic.csproj` and `Audio-02-RealTimeAudio.csproj`.
@github-actions
Copy link

👋 Thanks for contributing @elbruno! We will review the pull request and get back to you soon.

@elbruno elbruno merged commit 4381487 into main May 30, 2025
3 checks passed
@elbruno elbruno deleted the bruno-updatepkgs branch May 30, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants