File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Sources/OpenAI/Public/Models Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ import Foundation
22
33public struct Annotation : Codable , Equatable , Sendable {
44 /// The type of the URL citation. Always `url_citation`.
5- let type : String
5+ public let type : String
66 /// A URL citation when using web search.
7- let urlCitation : URLCitation
7+ public let urlCitation : URLCitation
88
99 public enum CodingKeys : String , CodingKey {
1010 case type, urlCitation = " url_citation "
1111 }
1212
1313 public struct URLCitation : Codable , Equatable , Sendable {
1414 /// The index of the last character of the URL citation in the message.
15- let endIndex : Int
15+ public let endIndex : Int
1616 /// The index of the first character of the URL citation in the message.
17- let startIndex : Int
17+ public let startIndex : Int
1818 /// The title of the web resource.
19- let title : String
19+ public let title : String
2020 /// The URL of the web resource.
21- let url : String
21+ public let url : String
2222
2323 public enum CodingKeys : String , CodingKey {
2424 case endIndex = " end_index "
You can’t perform that action at this time.
0 commit comments