Initial commit: KidsAI Explorer with complete functionality
- Complete KidsAI Explorer application - Multi-language support (English/German) - AI-powered educational guidance using OpenAI - Interactive chat interface for children - Proper placeholder translation fixes - Mobile-responsive design - Educational framework for critical thinking
This commit is contained in:
30
node_modules/openai/beta/realtime/websocket.d.mts
generated
vendored
Normal file
30
node_modules/openai/beta/realtime/websocket.d.mts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { AzureOpenAI, OpenAI } from "../../index.mjs";
|
||||
import type { RealtimeClientEvent } from "../../resources/beta/realtime/realtime.mjs";
|
||||
import { OpenAIRealtimeEmitter } from "./internal-base.mjs";
|
||||
type _WebSocket = typeof globalThis extends ({
|
||||
WebSocket: infer ws extends abstract new (...args: any) => any;
|
||||
}) ? InstanceType<ws> : any;
|
||||
export declare class OpenAIRealtimeWebSocket extends OpenAIRealtimeEmitter {
|
||||
url: URL;
|
||||
socket: _WebSocket;
|
||||
constructor(props: {
|
||||
model: string;
|
||||
dangerouslyAllowBrowser?: boolean;
|
||||
/**
|
||||
* Callback to mutate the URL, needed for Azure.
|
||||
* @internal
|
||||
*/
|
||||
onURL?: (url: URL) => void;
|
||||
}, client?: Pick<OpenAI, 'apiKey' | 'baseURL'>);
|
||||
static azure(client: Pick<AzureOpenAI, '_getAzureADToken' | 'apiVersion' | 'apiKey' | 'baseURL' | 'deploymentName'>, options?: {
|
||||
deploymentName?: string;
|
||||
dangerouslyAllowBrowser?: boolean;
|
||||
}): Promise<OpenAIRealtimeWebSocket>;
|
||||
send(event: RealtimeClientEvent): void;
|
||||
close(props?: {
|
||||
code: number;
|
||||
reason: string;
|
||||
}): void;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=websocket.d.mts.map
|
||||
Reference in New Issue
Block a user