Skip to content

AIProxyTeam/OpenAIRealtimeSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

How to run this project

To make this app build and run, one of the OpenAIService configuration blocks in RealtimeManager.swift must be uncommented. To use an OpenAI API key, uncomment:

/* Uncomment for BYOK use cases */
// let openAIService = AIProxy.openAIDirectService(
//     unprotectedAPIKey: "your-openai-key"
// )

To route requests through AIProxy, uncomment:

/* Uncomment to protect your connection through AIProxy */
// let openAIService = AIProxy.openAIService(
//     partialKey: "partial-key-from-your-developer-dashboard",
//     serviceURL: "service-url-from-your-developer-dashboard"
// )

If you want to build and run this app against your existing AIProxy OpenAI service, remember to first add this app's bundle identifier (currently com.aiproxy.OpenAIRealtimeSample) to your Apple Identifier list.

For full integration steps with AIProxy, see the integration guide.

About

Sample code for creating an OpenAI Realtime swift app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages