Skip to content

Commit

Permalink
feat(sessions): Removed sessions operations
Browse files Browse the repository at this point in the history
  • Loading branch information
mediumTaj committed Sep 12, 2018
1 parent 1421ab5 commit 1864798
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 716 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,74 +39,5 @@ SpeechRecognitionResults Recognize(string contentType,
bool profanityFilter = false,
bool? smartFormatting = null,
bool? speakerLabels = null);

SpeechRecognitionResults Recognize(string contentType,
Metadata metaData,
Stream audio,
string transferEncoding = "",
string model = "en-US_BroadbandModel",
string customizationId = "");

SpeechRecognitionResults Recognize(string sessionId,
string contentType,
Metadata metaData,
Stream audio,
string transferEncoding = "",
string model = "",
string customizationId = "",
bool? continuous = null,
int? inactivityTimeout =
null, string[] keywords = null,
double? keywordsThreshold = null,
int? maxAlternatives = null,
double? wordAlternativesThreshold = null,
bool? wordConfidence = null,
bool? timestamps = null,
bool profanityFilter = false,
bool? smartFormatting = null,
bool? speakerLabels = null);

SpeechRecognitionResults RecognizeWithSession(string sessionId,
string contentType,
Stream audio,
string transferEncoding = "",
string model = "en-US_BroadbandModel",
string customizationId = "",
bool? continuous = null,
int? inactivityTimeout = null,
string[] keywords = null,
double? keywordsThreshold = null,
int? maxAlternatives = null,
double? wordAlternativesThreshold = null,
bool? wordConfidence = null,
bool? timestamps = null,
bool profanityFilter = false,
bool? smartFormatting = null,
bool? speakerLabels = null);

SpeechRecognitionResults RecognizeWithSession(string sessionId,
string contentType,
Metadata metaData,
Stream audio,
string transferEncoding,
string model,
string customizationId);

List<SpeechRecognitionResults> ObserveResult(string sessionId,
int? sequenceId = (int?)null,
bool interimResults = false);

SpeechSession CreateSession(string model,
string customizationId = null,
string acousticCustomizationId = null,
string baseModelVersion = null);

SessionStatus GetSessionStatus(SpeechSession session);

SessionStatus GetSessionStatus(string sessionId);

object DeleteSession(SpeechSession session);

object DeleteSession(string sessionId);
}
}
Loading

0 comments on commit 1864798

Please sign in to comment.