We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14c8d07 commit c74a50bCopy full SHA for c74a50b
1 file changed
Tool/Sources/OpenAIService/FucntionCall/ChatGPTFunction.swift
@@ -80,6 +80,19 @@ public extension ChatGPTArgumentsCollectingFunction {
80
assertionFailure("This function is only used to get a structured output from the bot.")
81
return ""
82
}
83
+
84
+ @available(
85
+ *,
86
+ deprecated,
87
+ message: "This function is only used to get a structured output from the bot."
88
+ )
89
+ func call(
90
+ argumentsJsonString: String,
91
+ reportProgress: @escaping ReportProgress
92
+ ) async throws -> Result {
93
+ assertionFailure("This function is only used to get a structured output from the bot.")
94
+ return ""
95
+ }
96
97
98
struct ChatGPTFunctionSchema: Codable, Equatable {
0 commit comments