Skip to content

.Net: GetTextContentAsync extension method expects single output from textGenerationService.GetTextContentsAsync. #6434

Closed
@mku-wedoai

Description

@mku-wedoai

Describe the bug
GetTextContentAsync extension method expects single output from textGenerationService.GetTextContentsAsync.

See

I think that the Single() is not necessary here. Also, Python version of SK allows returning multiple instances of TextContent from get_text_contents method.

Platform

  • OS: Windows 11
  • IDE: Visual Studio 17.10.0
  • Language: C#
  • Source: NuGet package version 1.13.0

Metadata

Metadata

Assignees

Labels

.NETIssue or Pull requests regarding .NET codeai connectorAnything related to AI connectors

Type

No type

Projects

Status

Sprint: Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions