Skip to content

.Net: Anthropic chat generation (non-streaming) and removed FC - #7101

Merged
Roger Barreto (rogerbarreto) merged 21 commits into
microsoft:feature-connectors-anthropicfrom
Krzysztof318:anthropic/next1
Jul 29, 2024
Merged

.Net: Anthropic chat generation (non-streaming) and removed FC#7101
Roger Barreto (rogerbarreto) merged 21 commits into
microsoft:feature-connectors-anthropicfrom
Krzysztof318:anthropic/next1

Conversation

@Krzysztof318

@Krzysztof318 Krzysztof Kasprowicz (Krzysztof318) commented Jul 4, 2024

Copy link
Copy Markdown
Contributor

Part of: #5690

Anthropic chat generation (non-streaming)

Roger Barreto (@rogerbarreto)

Contribution Checklist

@markwallace-microsoft Mark Wallace (markwallace-microsoft) added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Jul 4, 2024
@github-actions github-actions Bot changed the title Anthropic chat generation (non-streaming) .Net: Anthropic chat generation (non-streaming) Jul 4, 2024
@Krzysztof318 Krzysztof Kasprowicz (Krzysztof318) changed the title .Net: Anthropic chat generation (non-streaming) .Net: Anthropic chat generation (non-streaming) and removed FC Jul 4, 2024
Comment thread dotnet/src/Connectors/Connectors.Anthropic/AnthropicClientOptions.cs Outdated
Comment thread dotnet/src/Connectors/Connectors.Anthropic/AnthropicClientOptions.cs Outdated
Comment thread dotnet/src/Connectors/Connectors.Anthropic/AnthropicClientOptions.cs Outdated
Comment thread dotnet/src/Connectors/Connectors.Anthropic/Core/AnthropicClient.cs Outdated
Comment thread dotnet/src/Connectors/Connectors.Anthropic/Models/AnthropicFinishReason.cs Outdated
Comment thread dotnet/src/IntegrationTests/Connectors/Anthropic/TestBase.cs Outdated
…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.
@rogerbarreto
Roger Barreto (rogerbarreto) merged commit 0a4df86 into microsoft:feature-connectors-anthropic Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants