Skip to content

ChipperAI is a audio request and response scripting system built with swift. It's a simple abstraction around speech synthesis, microphone sessions, and speech recognition to establish a faux scripted AI interaction.

License

elislade/ChipperAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChipperAI

ChipperAI is a audio request and response scripting system built with swift. It's a simple abstraction around speech synthesis, microphone sessions, and speech recognition to establish a faux scripted AI interaction.

It's built on simple protocols which allow different components to be changed without changing the underlaying scripted interactions.

To use it, simply provide the ask method a string that you want Chipper to say and a closure that handles a response string of what Chipper heard the user say.

let chipper = AI()
chipper.ask("Hello World?"){ answer in
    // do something with answer
}

NOTE: You will need to add privacy messages for NSSpeechRecognitionUsageDescription and NSMicrophoneUsageDescription.

About

ChipperAI is a audio request and response scripting system built with swift. It's a simple abstraction around speech synthesis, microphone sessions, and speech recognition to establish a faux scripted AI interaction.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages