Skip to content

saireddy12/streamn_sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamn Python SDK

This Streamn Python SDK provides convenient access to the Streamn API's.

Documentation

See the API docs

Requirements

  • Python 3+

Installation

First make sure that Python is installed in your system.

pip install --upgrade streamn

Configuration

The library needs to be configured with your account's API Key

save credentials by saving a file named streamn_config.json in your working directory in the following format.

Example of 'streamn_cofig.json' file

{
    "api_key":"asaisdniasnasnfjasdfn_asjhnadjsdsa"
}

A Transcript generation Example

import streamnai

# Process audio file
status , transcipt = streamnai.process_audio.transcribe_audio( audio_file_path = <audio file path to transcibe> , is_medical = <bool, True or Flase> , vocabulary_name = <string, vocab name>  , LanguageModelName = <string,language model name >  )

A Transcript with Audiolab scores generation Example

import streamnai

# Process audio file
status , transcipt = streamnai.process_audio.get_audiolab_transcript(audio_file_path = <audio file path to transcibe> , is_medical = <bool, True or Flase> , vocabulary_name = <string, vocab name>  , LanguageModelName = <string,language model name >  )

A Improved Transcript generation Example

import streamnai

# Process audio file
status , transcipt = streamnai.process_audio.get_improved_transcript( audio_file_path = <audio file path to transcibe> , is_medical = <bool, True or Flase> , vocabulary_name = <string, vocab name>  , LanguageModelName = <string,language model name >  )

To know more about these functions and parameters, click here

Need support

If the above doesn't help, do let us know at contact@streamn.ai

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages