Module ImportFrom alias Import alias Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameStore body While NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A jarvis Jarvis N/A logging N/A speech_recognition sr N/A logger N/A N/A logging getLogger __name__ N/A GOOGLE_SPEECH_RECOGNITION_API_KEY None run_transcription_loop N/A N/A N/A N/A N/A r N/A N/A sr Recognizer N/A N/A N/A sr Microphone source N/A N/A True N/A N/A N/A N/A logger debug Awaiting user input. N/A audio N/A N/A r listen source N/A N/A N/A logger debug Attempting to transcribe user input. N/A N/A N/A result N/A N/A r recognize_google audio key GOOGLE_SPEECH_RECOGNITION_API_KEY N/A N/A N/A Jarvis handle_action result N/A N/A N/A N/A sr UnknownValueError N/A N/A N/A N/A logger debug Google Speech Recognition could not understand audio N/A N/A N/A sr RequestError N/A e N/A N/A N/A N/A logger warn Could not request results from Google Speech Recognition service: %s e N/A N/A Exception N/A e N/A N/A N/A N/A logger error Could not process text: %s e N/A main N/A N/A N/A N/A N/A FORMAT %(asctime)s %(filename)s:%(lineno)s [%(levelname)s] %(message)s N/A N/A N/A logging basicConfig format FORMAT level N/A logging DEBUG N/A N/A run_transcription_loop N/A N/A N/A __name__ __main__ N/A N/A N/A main