from DevAssist import DevAssist from DevAssist.utils.input_normalizer import input_function my_devassist = DevAssist(modules=[ "DevAssist.modules.file_runner.FileRunner", "DevAssist.modules.run_tests.TestRunner" ]) while True: user_input = input_function() # Leave if the user is done if user_input == "quit": exit(0) # Generate response response = my_devassist.process(user_input) # Print response print(response)
from DevAssist import DevAssist from DevAssist.utils.input_normalizer import input_function import time my_devassist = DevAssist(speech_adapter="recognize_sphinx") while True: # Get a response response = my_devassist.process("") if response != "": # Print response print(response) # Waiting a specific amount of time before printing the result again time.sleep(0.05)
from DevAssist import DevAssist from DevAssist.utils.input_normalizer import input_function my_devassist = DevAssist( modules=[ "DevAssist.modules.file_runner.FileRunner", "DevAssist.modules.run_tests.TestRunner" ] ) while True: user_input = input_function() # Leave if the user is done if user_input == "quit": exit(0) # Generate response response = my_devassist.process(user_input) # Print response print(response)
from DevAssist import DevAssist from DevAssist.utils.input_normalizer import input_function import time my_devassist = DevAssist( speech_adapter="recognize_sphinx" ) while True: # Get a response response = my_devassist.process("") if response != "": # Print response print(response) # Waiting a specific amount of time before printing the result again time.sleep(0.05)