Computer Science, asked by karthikramesh123, 1 year ago

How to make an AI voice assistant in python

Answers

Answered by Anonymous
0

HEY MATE HERE IS YOUR ANSWER--

Here are the steps to follow, before we build a python based application.

  • Click on “Select a project” to create a project in Google Cloud. Click on “New project” and provide a name.

  • Type “Cloud Speech API” on the project search page. We need to enable this API to use the Speech to Text API service. In addition, we need to provide credit/debit card or bank account details to use the free API service.

  • There is no auto charge after the free trial ends. So please provide all the details and enable the API. There are limitations in the free trial use which is provided in the Google speech API documentation.

  • In the API page, click on the “Credentials” section and then click on “Create Credentials”.

  • Once done, we need to create a service account so that we can download the key as an JSON file. In search bar, type “service accounts” and create a new service account.

  • Provide a name and assign “Owner” for the Project Role. Click on “Furnish a new private key” and check “json” object and click “Save”. This will download the API key in a json format.

  • We are almost done. All we need to do now is to set the OS environment path for the API key.

  • This can be done by using the code below in Terminal/CommandPrompt.
Similar questions