We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124584b commit 7d3e488Copy full SHA for 7d3e488
samples/FunctionCalling.swift
@@ -31,7 +31,7 @@ final class FunctionCallingSnippets: XCTestCase {
31
}
32
33
func testFunctionCalling() async throws {
34
- // [BEGIN function_calling]
+ // [START function_calling]
35
// Calls a hypothetical API to control a light bulb and returns the values that were set.
36
func controlLight(brightness: Double, colorTemperature: String) -> JSONObject {
37
return ["brightness": .number(brightness), "colorTemperature": .string(colorTemperature)]
0 commit comments