MCPcopy
hub / github.com/openai/openai-assistants-quickstart / WeatherData

Interface WeatherData

app/examples/function-calling/page.tsx:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import { RequiredActionFunctionToolCall } from "openai/resources/beta/threads/runs/runs";
9
10interface WeatherData {
11 location?: string;
12 temperature?: number;
13 conditions?: string;
14}
15
16const FunctionCalling = () => {
17 const [weatherData, setWeatherData] = useState<WeatherData>({});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected