Skip to content

Complete conversation state remapping #447

Open
@lmmartinez97

Description

@lmmartinez97

Confirm this is a feature request for the .NET library and not the underlying OpenAI API

  • This is a feature request for the .NET library

Describe the feature or improvement you are requesting

Hi,

I have seen another issue regarding this topic that was closed without giving a closed answer.

I'm working in a system that is able to reproduce the entire state of a conversation to give my users the chance to recover chats that were last updated more than 30 days ago. To do this, I would like to be able to build the input item list with things like annotations and such.

As it is right now, the constructors for the ResponseMessageAnnotation class are internal, and the public partial class does not include a constructor, which effectively means we cannot add annotations to the output parts of the input item list, even though the ResponseContentPart.CreateOutputTextPart static method accepts an enumerable of ResponseMessageAnnotations.

My proposal is to add factory methods to the ResponseMessageAnnotation class, in the same way that the ResponseContentPart class has them.

Thanks!

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugCategory: Something isn't working and appears to be a defect in the client library.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions