| |
|
|
| |
|
|
| import typing |
| from importlib import import_module |
|
|
| if typing.TYPE_CHECKING: |
| from .types import ( |
| AudioData, |
| AudioMessage, |
| AudioOutput, |
| AudioOutputData, |
| BaseJobParameters, |
| BulkJobCallback, |
| BulkJobInitResponse, |
| ChatCompletionMessageToolCall, |
| ChatCompletionNamedToolChoice, |
| ChatCompletionNamedToolChoiceFunction, |
| ChatCompletionRequestAssistantMessage, |
| ChatCompletionRequestMessage, |
| ChatCompletionRequestMessage_Assistant, |
| ChatCompletionRequestMessage_System, |
| ChatCompletionRequestMessage_Tool, |
| ChatCompletionRequestMessage_User, |
| ChatCompletionRequestSystemMessage, |
| ChatCompletionRequestToolMessage, |
| ChatCompletionRequestUserMessage, |
| ChatCompletionResponseMessage, |
| ChatCompletionTool, |
| Choice, |
| CompletionEventFlag, |
| CompletionUsage, |
| ConfigMessage, |
| ConfigureConnection, |
| ConfigureConnectionData, |
| ConfigureConnectionDataModel, |
| ConfigureConnectionDataOutputAudioBitrate, |
| ConfigureConnectionDataOutputAudioCodec, |
| ConfigureConnectionDataSpeaker, |
| ConfigureConnectionDataTargetLanguageCode, |
| ConnectionSampleRate, |
| CreateChatCompletionResponse, |
| DiarizedEntry, |
| DiarizedTranscript, |
| DocDigitizationCreateJobResponse, |
| DocDigitizationDownloadFilesResponse, |
| DocDigitizationErrorCode, |
| DocDigitizationErrorDetails, |
| DocDigitizationErrorMessage, |
| DocDigitizationJobDetail, |
| DocDigitizationJobDetailState, |
| DocDigitizationJobParameters, |
| DocDigitizationJobState, |
| DocDigitizationJobStatusResponse, |
| DocDigitizationOutputFormat, |
| DocDigitizationPageError, |
| DocDigitizationSupportedLanguage, |
| DocDigitizationUploadFilesResponse, |
| DocDigitizationWebhookCallback, |
| ErrorCode, |
| ErrorCode2, |
| ErrorData, |
| ErrorDetails, |
| ErrorDetails2, |
| ErrorMessage, |
| ErrorMessage2, |
| ErrorResponse, |
| ErrorResponseData, |
| EventResponse, |
| EventResponseData, |
| EventsData, |
| EventsDataSignalType, |
| FileSignedUrlDetails, |
| FilesDownloadResponse, |
| FilesRequest, |
| FilesUploadResponse, |
| FinishReason, |
| FlushSignal, |
| FunctionCall, |
| FunctionDefinition, |
| InputAudioCodec, |
| JobState, |
| JobStatusResponse, |
| LanguageIdentificationResponse, |
| Mode, |
| NumeralsFormat, |
| PingSignal, |
| PronunciationDictionaryData, |
| PronunciationDictionaryDeleteResponse, |
| PronunciationDictionaryGetResponse, |
| PronunciationDictionaryResponse, |
| PronunciationDictionaryUpdateResponse, |
| ReasoningEffort, |
| ResponseType, |
| Role, |
| SarvamModelIds, |
| SendText, |
| SendTextData, |
| SpeechSampleRate, |
| SpeechStreamBitrate, |
| SpeechStreamCodec, |
| SpeechToTextJobParameters, |
| SpeechToTextLanguage, |
| SpeechToTextModel, |
| SpeechToTextResponse, |
| SpeechToTextResponseData, |
| SpeechToTextStreamingResponse, |
| SpeechToTextTranscriptionData, |
| SpeechToTextTranslateJobParameters, |
| SpeechToTextTranslateLanguage, |
| SpeechToTextTranslateModel, |
| SpeechToTextTranslateResponse, |
| SpeechToTextTranslateResponseData, |
| SpeechToTextTranslateStreamingResponse, |
| SpeechToTextTranslateTranscriptionData, |
| SpokenFormNumeralsFormat, |
| StopConfiguration, |
| StorageContainerType, |
| SttFlushSignal, |
| TaskDetail, |
| TaskFileDetails, |
| TaskState, |
| TextToSpeechLanguage, |
| TextToSpeechModel, |
| TextToSpeechOutputAudioCodec, |
| TextToSpeechResponse, |
| TextToSpeechSpeaker, |
| TimestampsModel, |
| ToolChoiceOption, |
| TranscriptionMetrics, |
| TranslateMode, |
| TranslateModel, |
| TranslateSourceLanguage, |
| TranslateSpeakerGender, |
| TranslateTargetLanguage, |
| TranslationResponse, |
| TranslatiterateTargetLanguage, |
| TransliterateMode, |
| TransliterateSourceLanguage, |
| TransliterationResponse, |
| ) |
| from .errors import ( |
| BadRequestError, |
| ContentTooLargeError, |
| ForbiddenError, |
| InternalServerError, |
| NotFoundError, |
| ServiceUnavailableError, |
| TooManyRequestsError, |
| UnprocessableEntityError, |
| ) |
| from . import ( |
| chat, |
| document_intelligence, |
| pronunciation_dictionary, |
| speech_to_text, |
| speech_to_text_job, |
| speech_to_text_streaming, |
| speech_to_text_translate_job, |
| speech_to_text_translate_streaming, |
| text, |
| text_to_speech, |
| text_to_speech_streaming, |
| ) |
| from .client import AsyncSarvamAI, SarvamAI |
| from .environment import SarvamAIEnvironment |
| from .requests import ( |
| AudioDataParams, |
| AudioMessageParams, |
| AudioOutputDataParams, |
| AudioOutputParams, |
| BaseJobParametersParams, |
| BulkJobCallbackParams, |
| BulkJobInitResponseParams, |
| ChatCompletionMessageToolCallParams, |
| ChatCompletionNamedToolChoiceFunctionParams, |
| ChatCompletionNamedToolChoiceParams, |
| ChatCompletionRequestAssistantMessageParams, |
| ChatCompletionRequestMessageParams, |
| ChatCompletionRequestMessage_AssistantParams, |
| ChatCompletionRequestMessage_SystemParams, |
| ChatCompletionRequestMessage_ToolParams, |
| ChatCompletionRequestMessage_UserParams, |
| ChatCompletionRequestSystemMessageParams, |
| ChatCompletionRequestToolMessageParams, |
| ChatCompletionRequestUserMessageParams, |
| ChatCompletionResponseMessageParams, |
| ChatCompletionToolParams, |
| ChoiceParams, |
| CompletionUsageParams, |
| ConfigMessageParams, |
| ConfigureConnectionDataParams, |
| ConfigureConnectionParams, |
| CreateChatCompletionResponseParams, |
| DiarizedEntryParams, |
| DiarizedTranscriptParams, |
| DocDigitizationCreateJobResponseParams, |
| DocDigitizationDownloadFilesResponseParams, |
| DocDigitizationErrorDetailsParams, |
| DocDigitizationErrorMessageParams, |
| DocDigitizationJobDetailParams, |
| DocDigitizationJobParametersParams, |
| DocDigitizationJobStatusResponseParams, |
| DocDigitizationPageErrorParams, |
| DocDigitizationUploadFilesResponseParams, |
| DocDigitizationWebhookCallbackParams, |
| ErrorDataParams, |
| ErrorDetails2Params, |
| ErrorDetailsParams, |
| ErrorMessage2Params, |
| ErrorMessageParams, |
| ErrorResponseDataParams, |
| ErrorResponseParams, |
| EventResponseDataParams, |
| EventResponseParams, |
| EventsDataParams, |
| FileSignedUrlDetailsParams, |
| FilesDownloadResponseParams, |
| FilesRequestParams, |
| FilesUploadResponseParams, |
| FlushSignalParams, |
| FunctionCallParams, |
| FunctionDefinitionParams, |
| JobStatusResponseParams, |
| LanguageIdentificationResponseParams, |
| PingSignalParams, |
| PronunciationDictionaryDataParams, |
| PronunciationDictionaryDeleteResponseParams, |
| PronunciationDictionaryGetResponseParams, |
| PronunciationDictionaryResponseParams, |
| PronunciationDictionaryUpdateResponseParams, |
| SendTextDataParams, |
| SendTextParams, |
| SpeechToTextJobParametersParams, |
| SpeechToTextResponseDataParams, |
| SpeechToTextResponseParams, |
| SpeechToTextStreamingResponseParams, |
| SpeechToTextTranscriptionDataParams, |
| SpeechToTextTranslateJobParametersParams, |
| SpeechToTextTranslateResponseDataParams, |
| SpeechToTextTranslateResponseParams, |
| SpeechToTextTranslateStreamingResponseParams, |
| SpeechToTextTranslateTranscriptionDataParams, |
| StopConfigurationParams, |
| SttFlushSignalParams, |
| TaskDetailParams, |
| TaskFileDetailsParams, |
| TextToSpeechResponseParams, |
| TimestampsModelParams, |
| ToolChoiceOptionParams, |
| TranscriptionMetricsParams, |
| TranslationResponseParams, |
| TransliterationResponseParams, |
| ) |
| from .speech_to_text_streaming import ( |
| SpeechToTextStreamingFlushSignal, |
| SpeechToTextStreamingHighVadSensitivity, |
| SpeechToTextStreamingInputAudioCodec, |
| SpeechToTextStreamingLanguageCode, |
| SpeechToTextStreamingMode, |
| SpeechToTextStreamingModel, |
| SpeechToTextStreamingVadSignals, |
| ) |
| from .speech_to_text_translate_streaming import ( |
| SpeechToTextTranslateStreamingFlushSignal, |
| SpeechToTextTranslateStreamingHighVadSensitivity, |
| SpeechToTextTranslateStreamingInputAudioCodec, |
| SpeechToTextTranslateStreamingMode, |
| SpeechToTextTranslateStreamingModel, |
| SpeechToTextTranslateStreamingVadSignals, |
| ) |
| from .text_to_speech_streaming import TextToSpeechStreamingModel, TextToSpeechStreamingSendCompletionEvent |
| from .version import __version__ |
| _dynamic_imports: typing.Dict[str, str] = { |
| "AsyncSarvamAI": ".client", |
| "AudioData": ".types", |
| "AudioDataParams": ".requests", |
| "AudioMessage": ".types", |
| "AudioMessageParams": ".requests", |
| "AudioOutput": ".types", |
| "AudioOutputData": ".types", |
| "AudioOutputDataParams": ".requests", |
| "AudioOutputParams": ".requests", |
| "BadRequestError": ".errors", |
| "BaseJobParameters": ".types", |
| "BaseJobParametersParams": ".requests", |
| "BulkJobCallback": ".types", |
| "BulkJobCallbackParams": ".requests", |
| "BulkJobInitResponse": ".types", |
| "BulkJobInitResponseParams": ".requests", |
| "ChatCompletionMessageToolCall": ".types", |
| "ChatCompletionMessageToolCallParams": ".requests", |
| "ChatCompletionNamedToolChoice": ".types", |
| "ChatCompletionNamedToolChoiceFunction": ".types", |
| "ChatCompletionNamedToolChoiceFunctionParams": ".requests", |
| "ChatCompletionNamedToolChoiceParams": ".requests", |
| "ChatCompletionRequestAssistantMessage": ".types", |
| "ChatCompletionRequestAssistantMessageParams": ".requests", |
| "ChatCompletionRequestMessage": ".types", |
| "ChatCompletionRequestMessageParams": ".requests", |
| "ChatCompletionRequestMessage_Assistant": ".types", |
| "ChatCompletionRequestMessage_AssistantParams": ".requests", |
| "ChatCompletionRequestMessage_System": ".types", |
| "ChatCompletionRequestMessage_SystemParams": ".requests", |
| "ChatCompletionRequestMessage_Tool": ".types", |
| "ChatCompletionRequestMessage_ToolParams": ".requests", |
| "ChatCompletionRequestMessage_User": ".types", |
| "ChatCompletionRequestMessage_UserParams": ".requests", |
| "ChatCompletionRequestSystemMessage": ".types", |
| "ChatCompletionRequestSystemMessageParams": ".requests", |
| "ChatCompletionRequestToolMessage": ".types", |
| "ChatCompletionRequestToolMessageParams": ".requests", |
| "ChatCompletionRequestUserMessage": ".types", |
| "ChatCompletionRequestUserMessageParams": ".requests", |
| "ChatCompletionResponseMessage": ".types", |
| "ChatCompletionResponseMessageParams": ".requests", |
| "ChatCompletionTool": ".types", |
| "ChatCompletionToolParams": ".requests", |
| "Choice": ".types", |
| "ChoiceParams": ".requests", |
| "CompletionEventFlag": ".types", |
| "CompletionUsage": ".types", |
| "CompletionUsageParams": ".requests", |
| "ConfigMessage": ".types", |
| "ConfigMessageParams": ".requests", |
| "ConfigureConnection": ".types", |
| "ConfigureConnectionData": ".types", |
| "ConfigureConnectionDataModel": ".types", |
| "ConfigureConnectionDataOutputAudioBitrate": ".types", |
| "ConfigureConnectionDataOutputAudioCodec": ".types", |
| "ConfigureConnectionDataParams": ".requests", |
| "ConfigureConnectionDataSpeaker": ".types", |
| "ConfigureConnectionDataTargetLanguageCode": ".types", |
| "ConfigureConnectionParams": ".requests", |
| "ConnectionSampleRate": ".types", |
| "ContentTooLargeError": ".errors", |
| "CreateChatCompletionResponse": ".types", |
| "CreateChatCompletionResponseParams": ".requests", |
| "DiarizedEntry": ".types", |
| "DiarizedEntryParams": ".requests", |
| "DiarizedTranscript": ".types", |
| "DiarizedTranscriptParams": ".requests", |
| "DocDigitizationCreateJobResponse": ".types", |
| "DocDigitizationCreateJobResponseParams": ".requests", |
| "DocDigitizationDownloadFilesResponse": ".types", |
| "DocDigitizationDownloadFilesResponseParams": ".requests", |
| "DocDigitizationErrorCode": ".types", |
| "DocDigitizationErrorDetails": ".types", |
| "DocDigitizationErrorDetailsParams": ".requests", |
| "DocDigitizationErrorMessage": ".types", |
| "DocDigitizationErrorMessageParams": ".requests", |
| "DocDigitizationJobDetail": ".types", |
| "DocDigitizationJobDetailParams": ".requests", |
| "DocDigitizationJobDetailState": ".types", |
| "DocDigitizationJobParameters": ".types", |
| "DocDigitizationJobParametersParams": ".requests", |
| "DocDigitizationJobState": ".types", |
| "DocDigitizationJobStatusResponse": ".types", |
| "DocDigitizationJobStatusResponseParams": ".requests", |
| "DocDigitizationOutputFormat": ".types", |
| "DocDigitizationPageError": ".types", |
| "DocDigitizationPageErrorParams": ".requests", |
| "DocDigitizationSupportedLanguage": ".types", |
| "DocDigitizationUploadFilesResponse": ".types", |
| "DocDigitizationUploadFilesResponseParams": ".requests", |
| "DocDigitizationWebhookCallback": ".types", |
| "DocDigitizationWebhookCallbackParams": ".requests", |
| "ErrorCode": ".types", |
| "ErrorCode2": ".types", |
| "ErrorData": ".types", |
| "ErrorDataParams": ".requests", |
| "ErrorDetails": ".types", |
| "ErrorDetails2": ".types", |
| "ErrorDetails2Params": ".requests", |
| "ErrorDetailsParams": ".requests", |
| "ErrorMessage": ".types", |
| "ErrorMessage2": ".types", |
| "ErrorMessage2Params": ".requests", |
| "ErrorMessageParams": ".requests", |
| "ErrorResponse": ".types", |
| "ErrorResponseData": ".types", |
| "ErrorResponseDataParams": ".requests", |
| "ErrorResponseParams": ".requests", |
| "EventResponse": ".types", |
| "EventResponseData": ".types", |
| "EventResponseDataParams": ".requests", |
| "EventResponseParams": ".requests", |
| "EventsData": ".types", |
| "EventsDataParams": ".requests", |
| "EventsDataSignalType": ".types", |
| "FileSignedUrlDetails": ".types", |
| "FileSignedUrlDetailsParams": ".requests", |
| "FilesDownloadResponse": ".types", |
| "FilesDownloadResponseParams": ".requests", |
| "FilesRequest": ".types", |
| "FilesRequestParams": ".requests", |
| "FilesUploadResponse": ".types", |
| "FilesUploadResponseParams": ".requests", |
| "FinishReason": ".types", |
| "FlushSignal": ".types", |
| "FlushSignalParams": ".requests", |
| "ForbiddenError": ".errors", |
| "FunctionCall": ".types", |
| "FunctionCallParams": ".requests", |
| "FunctionDefinition": ".types", |
| "FunctionDefinitionParams": ".requests", |
| "InputAudioCodec": ".types", |
| "InternalServerError": ".errors", |
| "JobState": ".types", |
| "JobStatusResponse": ".types", |
| "JobStatusResponseParams": ".requests", |
| "LanguageIdentificationResponse": ".types", |
| "LanguageIdentificationResponseParams": ".requests", |
| "Mode": ".types", |
| "NotFoundError": ".errors", |
| "NumeralsFormat": ".types", |
| "PingSignal": ".types", |
| "PingSignalParams": ".requests", |
| "PronunciationDictionaryData": ".types", |
| "PronunciationDictionaryDataParams": ".requests", |
| "PronunciationDictionaryDeleteResponse": ".types", |
| "PronunciationDictionaryDeleteResponseParams": ".requests", |
| "PronunciationDictionaryGetResponse": ".types", |
| "PronunciationDictionaryGetResponseParams": ".requests", |
| "PronunciationDictionaryResponse": ".types", |
| "PronunciationDictionaryResponseParams": ".requests", |
| "PronunciationDictionaryUpdateResponse": ".types", |
| "PronunciationDictionaryUpdateResponseParams": ".requests", |
| "ReasoningEffort": ".types", |
| "ResponseType": ".types", |
| "Role": ".types", |
| "SarvamAI": ".client", |
| "SarvamAIEnvironment": ".environment", |
| "SarvamModelIds": ".types", |
| "SendText": ".types", |
| "SendTextData": ".types", |
| "SendTextDataParams": ".requests", |
| "SendTextParams": ".requests", |
| "ServiceUnavailableError": ".errors", |
| "SpeechSampleRate": ".types", |
| "SpeechStreamBitrate": ".types", |
| "SpeechStreamCodec": ".types", |
| "SpeechToTextJobParameters": ".types", |
| "SpeechToTextJobParametersParams": ".requests", |
| "SpeechToTextLanguage": ".types", |
| "SpeechToTextModel": ".types", |
| "SpeechToTextResponse": ".types", |
| "SpeechToTextResponseData": ".types", |
| "SpeechToTextResponseDataParams": ".requests", |
| "SpeechToTextResponseParams": ".requests", |
| "SpeechToTextStreamingFlushSignal": ".speech_to_text_streaming", |
| "SpeechToTextStreamingHighVadSensitivity": ".speech_to_text_streaming", |
| "SpeechToTextStreamingInputAudioCodec": ".speech_to_text_streaming", |
| "SpeechToTextStreamingLanguageCode": ".speech_to_text_streaming", |
| "SpeechToTextStreamingMode": ".speech_to_text_streaming", |
| "SpeechToTextStreamingModel": ".speech_to_text_streaming", |
| "SpeechToTextStreamingResponse": ".types", |
| "SpeechToTextStreamingResponseParams": ".requests", |
| "SpeechToTextStreamingVadSignals": ".speech_to_text_streaming", |
| "SpeechToTextTranscriptionData": ".types", |
| "SpeechToTextTranscriptionDataParams": ".requests", |
| "SpeechToTextTranslateJobParameters": ".types", |
| "SpeechToTextTranslateJobParametersParams": ".requests", |
| "SpeechToTextTranslateLanguage": ".types", |
| "SpeechToTextTranslateModel": ".types", |
| "SpeechToTextTranslateResponse": ".types", |
| "SpeechToTextTranslateResponseData": ".types", |
| "SpeechToTextTranslateResponseDataParams": ".requests", |
| "SpeechToTextTranslateResponseParams": ".requests", |
| "SpeechToTextTranslateStreamingFlushSignal": ".speech_to_text_translate_streaming", |
| "SpeechToTextTranslateStreamingHighVadSensitivity": ".speech_to_text_translate_streaming", |
| "SpeechToTextTranslateStreamingInputAudioCodec": ".speech_to_text_translate_streaming", |
| "SpeechToTextTranslateStreamingMode": ".speech_to_text_translate_streaming", |
| "SpeechToTextTranslateStreamingModel": ".speech_to_text_translate_streaming", |
| "SpeechToTextTranslateStreamingResponse": ".types", |
| "SpeechToTextTranslateStreamingResponseParams": ".requests", |
| "SpeechToTextTranslateStreamingVadSignals": ".speech_to_text_translate_streaming", |
| "SpeechToTextTranslateTranscriptionData": ".types", |
| "SpeechToTextTranslateTranscriptionDataParams": ".requests", |
| "SpokenFormNumeralsFormat": ".types", |
| "StopConfiguration": ".types", |
| "StopConfigurationParams": ".requests", |
| "StorageContainerType": ".types", |
| "SttFlushSignal": ".types", |
| "SttFlushSignalParams": ".requests", |
| "TaskDetail": ".types", |
| "TaskDetailParams": ".requests", |
| "TaskFileDetails": ".types", |
| "TaskFileDetailsParams": ".requests", |
| "TaskState": ".types", |
| "TextToSpeechLanguage": ".types", |
| "TextToSpeechModel": ".types", |
| "TextToSpeechOutputAudioCodec": ".types", |
| "TextToSpeechResponse": ".types", |
| "TextToSpeechResponseParams": ".requests", |
| "TextToSpeechSpeaker": ".types", |
| "TextToSpeechStreamingModel": ".text_to_speech_streaming", |
| "TextToSpeechStreamingSendCompletionEvent": ".text_to_speech_streaming", |
| "TimestampsModel": ".types", |
| "TimestampsModelParams": ".requests", |
| "TooManyRequestsError": ".errors", |
| "ToolChoiceOption": ".types", |
| "ToolChoiceOptionParams": ".requests", |
| "TranscriptionMetrics": ".types", |
| "TranscriptionMetricsParams": ".requests", |
| "TranslateMode": ".types", |
| "TranslateModel": ".types", |
| "TranslateSourceLanguage": ".types", |
| "TranslateSpeakerGender": ".types", |
| "TranslateTargetLanguage": ".types", |
| "TranslationResponse": ".types", |
| "TranslationResponseParams": ".requests", |
| "TranslatiterateTargetLanguage": ".types", |
| "TransliterateMode": ".types", |
| "TransliterateSourceLanguage": ".types", |
| "TransliterationResponse": ".types", |
| "TransliterationResponseParams": ".requests", |
| "UnprocessableEntityError": ".errors", |
| "__version__": ".version", |
| "chat": ".chat", |
| "document_intelligence": ".document_intelligence", |
| "pronunciation_dictionary": ".pronunciation_dictionary", |
| "speech_to_text": ".speech_to_text", |
| "speech_to_text_job": ".speech_to_text_job", |
| "speech_to_text_streaming": ".speech_to_text_streaming", |
| "speech_to_text_translate_job": ".speech_to_text_translate_job", |
| "speech_to_text_translate_streaming": ".speech_to_text_translate_streaming", |
| "text": ".text", |
| "text_to_speech": ".text_to_speech", |
| "text_to_speech_streaming": ".text_to_speech_streaming", |
| } |
|
|
|
|
| def __getattr__(attr_name: str) -> typing.Any: |
| module_name = _dynamic_imports.get(attr_name) |
| if module_name is None: |
| raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") |
| try: |
| module = import_module(module_name, __package__) |
| if module_name == f".{attr_name}": |
| return module |
| else: |
| return getattr(module, attr_name) |
| except ImportError as e: |
| raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e |
| except AttributeError as e: |
| raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e |
|
|
|
|
| def __dir__(): |
| lazy_attrs = list(_dynamic_imports.keys()) |
| return sorted(lazy_attrs) |
|
|
|
|
| __all__ = [ |
| "AsyncSarvamAI", |
| "AudioData", |
| "AudioDataParams", |
| "AudioMessage", |
| "AudioMessageParams", |
| "AudioOutput", |
| "AudioOutputData", |
| "AudioOutputDataParams", |
| "AudioOutputParams", |
| "BadRequestError", |
| "BaseJobParameters", |
| "BaseJobParametersParams", |
| "BulkJobCallback", |
| "BulkJobCallbackParams", |
| "BulkJobInitResponse", |
| "BulkJobInitResponseParams", |
| "ChatCompletionMessageToolCall", |
| "ChatCompletionMessageToolCallParams", |
| "ChatCompletionNamedToolChoice", |
| "ChatCompletionNamedToolChoiceFunction", |
| "ChatCompletionNamedToolChoiceFunctionParams", |
| "ChatCompletionNamedToolChoiceParams", |
| "ChatCompletionRequestAssistantMessage", |
| "ChatCompletionRequestAssistantMessageParams", |
| "ChatCompletionRequestMessage", |
| "ChatCompletionRequestMessageParams", |
| "ChatCompletionRequestMessage_Assistant", |
| "ChatCompletionRequestMessage_AssistantParams", |
| "ChatCompletionRequestMessage_System", |
| "ChatCompletionRequestMessage_SystemParams", |
| "ChatCompletionRequestMessage_Tool", |
| "ChatCompletionRequestMessage_ToolParams", |
| "ChatCompletionRequestMessage_User", |
| "ChatCompletionRequestMessage_UserParams", |
| "ChatCompletionRequestSystemMessage", |
| "ChatCompletionRequestSystemMessageParams", |
| "ChatCompletionRequestToolMessage", |
| "ChatCompletionRequestToolMessageParams", |
| "ChatCompletionRequestUserMessage", |
| "ChatCompletionRequestUserMessageParams", |
| "ChatCompletionResponseMessage", |
| "ChatCompletionResponseMessageParams", |
| "ChatCompletionTool", |
| "ChatCompletionToolParams", |
| "Choice", |
| "ChoiceParams", |
| "CompletionEventFlag", |
| "CompletionUsage", |
| "CompletionUsageParams", |
| "ConfigMessage", |
| "ConfigMessageParams", |
| "ConfigureConnection", |
| "ConfigureConnectionData", |
| "ConfigureConnectionDataModel", |
| "ConfigureConnectionDataOutputAudioBitrate", |
| "ConfigureConnectionDataOutputAudioCodec", |
| "ConfigureConnectionDataParams", |
| "ConfigureConnectionDataSpeaker", |
| "ConfigureConnectionDataTargetLanguageCode", |
| "ConfigureConnectionParams", |
| "ConnectionSampleRate", |
| "ContentTooLargeError", |
| "CreateChatCompletionResponse", |
| "CreateChatCompletionResponseParams", |
| "DiarizedEntry", |
| "DiarizedEntryParams", |
| "DiarizedTranscript", |
| "DiarizedTranscriptParams", |
| "DocDigitizationCreateJobResponse", |
| "DocDigitizationCreateJobResponseParams", |
| "DocDigitizationDownloadFilesResponse", |
| "DocDigitizationDownloadFilesResponseParams", |
| "DocDigitizationErrorCode", |
| "DocDigitizationErrorDetails", |
| "DocDigitizationErrorDetailsParams", |
| "DocDigitizationErrorMessage", |
| "DocDigitizationErrorMessageParams", |
| "DocDigitizationJobDetail", |
| "DocDigitizationJobDetailParams", |
| "DocDigitizationJobDetailState", |
| "DocDigitizationJobParameters", |
| "DocDigitizationJobParametersParams", |
| "DocDigitizationJobState", |
| "DocDigitizationJobStatusResponse", |
| "DocDigitizationJobStatusResponseParams", |
| "DocDigitizationOutputFormat", |
| "DocDigitizationPageError", |
| "DocDigitizationPageErrorParams", |
| "DocDigitizationSupportedLanguage", |
| "DocDigitizationUploadFilesResponse", |
| "DocDigitizationUploadFilesResponseParams", |
| "DocDigitizationWebhookCallback", |
| "DocDigitizationWebhookCallbackParams", |
| "ErrorCode", |
| "ErrorCode2", |
| "ErrorData", |
| "ErrorDataParams", |
| "ErrorDetails", |
| "ErrorDetails2", |
| "ErrorDetails2Params", |
| "ErrorDetailsParams", |
| "ErrorMessage", |
| "ErrorMessage2", |
| "ErrorMessage2Params", |
| "ErrorMessageParams", |
| "ErrorResponse", |
| "ErrorResponseData", |
| "ErrorResponseDataParams", |
| "ErrorResponseParams", |
| "EventResponse", |
| "EventResponseData", |
| "EventResponseDataParams", |
| "EventResponseParams", |
| "EventsData", |
| "EventsDataParams", |
| "EventsDataSignalType", |
| "FileSignedUrlDetails", |
| "FileSignedUrlDetailsParams", |
| "FilesDownloadResponse", |
| "FilesDownloadResponseParams", |
| "FilesRequest", |
| "FilesRequestParams", |
| "FilesUploadResponse", |
| "FilesUploadResponseParams", |
| "FinishReason", |
| "FlushSignal", |
| "FlushSignalParams", |
| "ForbiddenError", |
| "FunctionCall", |
| "FunctionCallParams", |
| "FunctionDefinition", |
| "FunctionDefinitionParams", |
| "InputAudioCodec", |
| "InternalServerError", |
| "JobState", |
| "JobStatusResponse", |
| "JobStatusResponseParams", |
| "LanguageIdentificationResponse", |
| "LanguageIdentificationResponseParams", |
| "Mode", |
| "NotFoundError", |
| "NumeralsFormat", |
| "PingSignal", |
| "PingSignalParams", |
| "PronunciationDictionaryData", |
| "PronunciationDictionaryDataParams", |
| "PronunciationDictionaryDeleteResponse", |
| "PronunciationDictionaryDeleteResponseParams", |
| "PronunciationDictionaryGetResponse", |
| "PronunciationDictionaryGetResponseParams", |
| "PronunciationDictionaryResponse", |
| "PronunciationDictionaryResponseParams", |
| "PronunciationDictionaryUpdateResponse", |
| "PronunciationDictionaryUpdateResponseParams", |
| "ReasoningEffort", |
| "ResponseType", |
| "Role", |
| "SarvamAI", |
| "SarvamAIEnvironment", |
| "SarvamModelIds", |
| "SendText", |
| "SendTextData", |
| "SendTextDataParams", |
| "SendTextParams", |
| "ServiceUnavailableError", |
| "SpeechSampleRate", |
| "SpeechStreamBitrate", |
| "SpeechStreamCodec", |
| "SpeechToTextJobParameters", |
| "SpeechToTextJobParametersParams", |
| "SpeechToTextLanguage", |
| "SpeechToTextModel", |
| "SpeechToTextResponse", |
| "SpeechToTextResponseData", |
| "SpeechToTextResponseDataParams", |
| "SpeechToTextResponseParams", |
| "SpeechToTextStreamingFlushSignal", |
| "SpeechToTextStreamingHighVadSensitivity", |
| "SpeechToTextStreamingInputAudioCodec", |
| "SpeechToTextStreamingLanguageCode", |
| "SpeechToTextStreamingMode", |
| "SpeechToTextStreamingModel", |
| "SpeechToTextStreamingResponse", |
| "SpeechToTextStreamingResponseParams", |
| "SpeechToTextStreamingVadSignals", |
| "SpeechToTextTranscriptionData", |
| "SpeechToTextTranscriptionDataParams", |
| "SpeechToTextTranslateJobParameters", |
| "SpeechToTextTranslateJobParametersParams", |
| "SpeechToTextTranslateLanguage", |
| "SpeechToTextTranslateModel", |
| "SpeechToTextTranslateResponse", |
| "SpeechToTextTranslateResponseData", |
| "SpeechToTextTranslateResponseDataParams", |
| "SpeechToTextTranslateResponseParams", |
| "SpeechToTextTranslateStreamingFlushSignal", |
| "SpeechToTextTranslateStreamingHighVadSensitivity", |
| "SpeechToTextTranslateStreamingInputAudioCodec", |
| "SpeechToTextTranslateStreamingMode", |
| "SpeechToTextTranslateStreamingModel", |
| "SpeechToTextTranslateStreamingResponse", |
| "SpeechToTextTranslateStreamingResponseParams", |
| "SpeechToTextTranslateStreamingVadSignals", |
| "SpeechToTextTranslateTranscriptionData", |
| "SpeechToTextTranslateTranscriptionDataParams", |
| "SpokenFormNumeralsFormat", |
| "StopConfiguration", |
| "StopConfigurationParams", |
| "StorageContainerType", |
| "SttFlushSignal", |
| "SttFlushSignalParams", |
| "TaskDetail", |
| "TaskDetailParams", |
| "TaskFileDetails", |
| "TaskFileDetailsParams", |
| "TaskState", |
| "TextToSpeechLanguage", |
| "TextToSpeechModel", |
| "TextToSpeechOutputAudioCodec", |
| "TextToSpeechResponse", |
| "TextToSpeechResponseParams", |
| "TextToSpeechSpeaker", |
| "TextToSpeechStreamingModel", |
| "TextToSpeechStreamingSendCompletionEvent", |
| "TimestampsModel", |
| "TimestampsModelParams", |
| "TooManyRequestsError", |
| "ToolChoiceOption", |
| "ToolChoiceOptionParams", |
| "TranscriptionMetrics", |
| "TranscriptionMetricsParams", |
| "TranslateMode", |
| "TranslateModel", |
| "TranslateSourceLanguage", |
| "TranslateSpeakerGender", |
| "TranslateTargetLanguage", |
| "TranslationResponse", |
| "TranslationResponseParams", |
| "TranslatiterateTargetLanguage", |
| "TransliterateMode", |
| "TransliterateSourceLanguage", |
| "TransliterationResponse", |
| "TransliterationResponseParams", |
| "UnprocessableEntityError", |
| "__version__", |
| "chat", |
| "document_intelligence", |
| "pronunciation_dictionary", |
| "speech_to_text", |
| "speech_to_text_job", |
| "speech_to_text_streaming", |
| "speech_to_text_translate_job", |
| "speech_to_text_translate_streaming", |
| "text", |
| "text_to_speech", |
| "text_to_speech_streaming", |
| ] |
|
|