Skip to content

Commit

Permalink
chat fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Dec 8, 2023
1 parent 20ffacc commit a47f502
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MAVProxy/modules/mavproxy_chat/chat_voice_to_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
from openai import OpenAI

class chat_voice_to_text():
def __init__(self):
# initialise OpenAI connection
self.client = None
self.assistant = None

# check connection to OpenAI assistant and connect if necessary
# returns True if connection is good, False if not
def check_connection(self):
Expand Down

0 comments on commit a47f502

Please sign in to comment.