sttproviders:google

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sttproviders:google [2017/10/27 00:14] borjasttproviders:google [2021/02/19 09:53] (current) – [Using with Json Credentials] javier
Line 7: Line 7:
 API reference :  API reference : 
 Languages : https://cloud.google.com/speech/docs/languages Languages : https://cloud.google.com/speech/docs/languages
 +
 +==== Using with KEYS ====
  
   - Navigate to the Actions Console and click Add/Import Project.   - Navigate to the Actions Console and click Add/Import Project.
Line 21: Line 23:
  
 <code> <code>
-[recognizer]+[recognize]
  api=google  api=google
  key=(your private key)  key=(your private key)
 </code> </code>
  
 +==== Using with Json Credentials ====
 +
 +  - Create a project in the Google Cloud Platform Console. If you haven't already created a project, create one now. Projects enable you to manage all Google Cloud Platform resources for your app, including deployment, access control, billing, and services.
 +     - Open the Cloud Platform Console.
 +     - In the drop-down menu at the top, select Create a project.
 +     - Click Show advanced options. Under App Engine location, select a United States location.
 +     - Give your project a name.
 +     - Make a note of the project ID, which might be different from the project name. The project ID is used in commands and in configurations.
 +  - Enable billing for your project. If you haven't already enabled billing for your project, enable billing now. Enabling billing allows the application to consume billable resources such as Speech API calls. See Cloud Platform Console Help for more information about billing settings.
 +  - Enable APIs for your project. Click here to visit Cloud Platform Console and enable the Speech API.
 +  - Download service account credentials. These samples use service accounts for authentication.
 +     - Visit the Cloud Console, and navigate to: API Manager > Credentials > Create credentials > Service account key
 +     - Under Service account, select New service account.
 +     - Under Service account name, enter a service account name of your choosing. For example, transcriber.
 +     - Under Role, select Project > Service Account Actor.
 +     - Under Key type, leave JSON selected.
 +     - Click Create to create a new service account, and download the json credentials file.
 +     - Copy the file to : /usr/share/voximal/credentials-key.json.
 +     - Check if you already have the /usr/share/voximal/roots.pem file, if not contact our support team.
 +
 +See the Cloud Platform Auth Guide for more information.
 +
 +
 +  * **Configuration**  :
 +
 +== voximal.conf ==
 +
 +<code>
 +[recognize]
 + api=google_streaming
 +</code>
  • sttproviders/google.1509063266.txt.gz
  • Last modified: 2017/10/27 00:14
  • by borja