.Net: Anthropic chat generation (non-streaming) and removed FC - #7101
Merged
Roger Barreto (rogerbarreto) merged 21 commits intoJul 29, 2024
Merged
Conversation
Krzysztof Kasprowicz (Krzysztof318)
requested a review
from a team
as a code owner
July 4, 2024 19:20
…next1 # Conflicts: # dotnet/src/Connectors/Connectors.Anthropic.UnitTests/Core/AnthropicChatGenerationTests.cs # dotnet/src/Connectors/Connectors.Anthropic.UnitTests/Extensions/AnthropicServiceCollectionExtensionsTests.cs # dotnet/src/Connectors/Connectors.Anthropic/AnthropicClientOptions.cs # dotnet/src/Connectors/Connectors.Anthropic/Core/AnthropicClient.cs # dotnet/src/Connectors/Connectors.Anthropic/Core/Models/Message/AnthropicDeltaJsonContent.cs # dotnet/src/Connectors/Connectors.Anthropic/Core/Models/Message/AnthropicDeltaTextContent.cs # dotnet/src/Connectors/Connectors.Anthropic/Core/Models/Message/AnthropicImageContent.cs # dotnet/src/Connectors/Connectors.Anthropic/Core/Models/Message/AnthropicTextContent.cs # dotnet/src/Connectors/Connectors.Anthropic/Core/Models/Message/PolymorphicJsonConverterOfT.cs # dotnet/src/Connectors/Connectors.Anthropic/Extensions/AnthropicKernelBuilderExtensions.cs # dotnet/src/Connectors/Connectors.Anthropic/Extensions/AnthropicServiceCollectionExtensions.cs # dotnet/src/Connectors/Connectors.Anthropic/Services/AnthropicChatCompletionService.cs # dotnet/src/IntegrationTests/Connectors/Anthropic/TestBase.cs
Updated the Messages property to use JsonObjectCreationHandling.Populate for better control over object instantiation. This change ensures that existing instances are populated rather than replaced.
Roger Barreto (rogerbarreto)
merged commit Jul 29, 2024
0a4df86
into
microsoft:feature-connectors-anthropic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of: #5690
Anthropic chat generation (non-streaming)
Roger Barreto (@rogerbarreto)
Contribution Checklist