@@ -4675,6 +4675,26 @@ public enum ComputerCallStatus {
46754675 public override readonly string ToString ( ) ;
46764676 }
46774677 [ Experimental ( "OPENAI001" ) ]
4678+ public class FileCitationAnnotation : ResponseMessageAnnotation , IJsonModel < FileCitationAnnotation > , IPersistableModel < FileCitationAnnotation > {
4679+ public FileCitationAnnotation ( string fileId , int index ) ;
4680+ public string FileId { get ; set ; }
4681+ public int Index { get ; set ; }
4682+ protected override ResponseMessageAnnotation JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
4683+ protected override void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
4684+ protected override ResponseMessageAnnotation PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
4685+ protected override BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
4686+ }
4687+ [ Experimental ( "OPENAI001" ) ]
4688+ public class FilePathAnnotation : ResponseMessageAnnotation , IJsonModel < FilePathAnnotation > , IPersistableModel < FilePathAnnotation > {
4689+ public FilePathAnnotation ( string fileId , int index ) ;
4690+ public string FileId { get ; set ; }
4691+ public int Index { get ; set ; }
4692+ protected override ResponseMessageAnnotation JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
4693+ protected override void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
4694+ protected override ResponseMessageAnnotation PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
4695+ protected override BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
4696+ }
4697+ [ Experimental ( "OPENAI001" ) ]
46784698 public class FileSearchCallResponseItem : ResponseItem , IJsonModel < FileSearchCallResponseItem > , IPersistableModel < FileSearchCallResponseItem > {
46794699 public FileSearchCallResponseItem ( IEnumerable < string > queries ) ;
46804700 public IList < string > Queries { get ; }
@@ -5129,15 +5149,7 @@ public class ResponseItemCollectionOptions : IJsonModel<ResponseItemCollectionOp
51295149 }
51305150 [ Experimental ( "OPENAI001" ) ]
51315151 public class ResponseMessageAnnotation : IJsonModel < ResponseMessageAnnotation > , IPersistableModel < ResponseMessageAnnotation > {
5132- public string FileCitationFileId { get ; }
5133- public int ? FileCitationIndex { get ; }
5134- public string FilePathFileId { get ; }
5135- public int ? FilePathIndex { get ; }
51365152 public ResponseMessageAnnotationKind Kind { get ; }
5137- public int ? UriCitationEndIndex { get ; }
5138- public int ? UriCitationStartIndex { get ; }
5139- public string UriCitationTitle { get ; }
5140- public Uri UriCitationUri { get ; }
51415153 protected virtual ResponseMessageAnnotation JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
51425154 protected virtual void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
51435155 protected virtual ResponseMessageAnnotation PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
@@ -5555,6 +5567,18 @@ public class StreamingResponseWebSearchCallSearchingUpdate : StreamingResponseUp
55555567 protected override BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
55565568 }
55575569 [ Experimental ( "OPENAI001" ) ]
5570+ public class UrlCitationAnnotation : ResponseMessageAnnotation , IJsonModel < UrlCitationAnnotation > , IPersistableModel < UrlCitationAnnotation > {
5571+ public UrlCitationAnnotation ( Uri url , int startIndex , int endIndex , string title ) ;
5572+ public int EndIndex { get ; set ; }
5573+ public int StartIndex { get ; set ; }
5574+ public string Title { get ; set ; }
5575+ public Uri Url { get ; set ; }
5576+ protected override ResponseMessageAnnotation JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
5577+ protected override void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
5578+ protected override ResponseMessageAnnotation PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
5579+ protected override BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
5580+ }
5581+ [ Experimental ( "OPENAI001" ) ]
55585582 public class WebSearchCallResponseItem : ResponseItem , IJsonModel < WebSearchCallResponseItem > , IPersistableModel < WebSearchCallResponseItem > {
55595583 public WebSearchCallResponseItem ( ) ;
55605584 public WebSearchCallStatus ? Status { get ; }
0 commit comments