Skip to content
プロジェクト

craigsdennis/talk-to-javascript-openai-workers

GitHubで見る

概要

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・機械学習

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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

関連プロジェクトを探す

読み込み中…