Skip to content
Proyek

craigsdennis/talk-to-javascript-openai-workers

Lihat di GitHub

Tentang

Demonstrates how to protect your OpenAI API Key using a Cloudflare Worker to serve your ephemeral token and then do client side tool calling

AI dan pembelajaran mesin

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
-1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Client Side Tool Calling with the OpenAI WebRTC Realtime API

This project is a Cloudflare Workers app using Hono to relay the OpenAI Realtime API over WebRTC. The main files are just static assets.

Develop

Copy .dev.vars.example to .dev.vars and fill out your OpenAI API Key.

Install your dependencies

npm install

Run local server

npm run dev

Deploy

Upload your secret

npx wrangler secret put OPENAI_API_KEY
npm run deploy

The hand is a HiWonder AI Hand. AI and I reverse-engineered the mobile app to make it work over Bluetooth, see the code in hand.js

Jelajahi proyek terkait

Memuat…