with Playchat and Google STT
related files
- STTSampleViewController.swift
info
In the STTSampleViewController's viewDidLoad function, insert your Google app key in the constructor of GoogleSTTOtion.
Finally, AI Human (which converts speech recognition data provided by Google into text) provides a more realistic conversation experience with the AI. The message (text) received from chatbot is converted into AI's voice, and the content of the user's speech is delivered to the chatbot as a text message.