You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mavproxy/source/docs/modules/chat.rst
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,15 @@ OpenAI's ChatGPT Assistants can be used to control an ArduPilot vehicle using th
14
14
15
15
.. warning::
16
16
17
-
This module is still under development and the assistant sometimes makes mistakes including switching to the wrong flight mode or commanding target positions that are many kilometers away
17
+
This module is still under development and the assistant sometimes makes mistakes including switching to the wrong flight mode or commanding target positions that are many kilometers away.
18
18
19
19
Prerequisites
20
20
=============
21
21
22
22
- MAVProxy 1.8.69 (or higher)
23
-
- On Linux/Ubuntu the pyaudio, wave and openai python packages must be installed manually
23
+
- On Linux/Ubuntu the pyaudioand openai Python packages must be installed manually
24
24
- `OpenAI API key <https://platform.openai.com/docs/quickstart/account-setup>`__
25
-
- Setup the OpenAI Assistant (not required for core developers using ArduPilot's API key)
25
+
- Set up the OpenAI Assistant (not required for core developers using ArduPilot's API key)
26
26
- Vehicle must be running ArduPilot 4.6 (or higher)
27
27
28
28
Installing Python Packages on Linux/Ubuntu
@@ -31,8 +31,7 @@ Installing Python Packages on Linux/Ubuntu
31
31
From the command line run the following commands:
32
32
33
33
- sudo apt -y install python3-pyaudio
34
-
- pip install wave
35
-
- pip install openai
34
+
- python3 -m pip install openai
36
35
37
36
OpenAI API Key
38
37
--------------
@@ -64,7 +63,7 @@ Assistant Setup
64
63
65
64
This section is only required for users who are not using the ArduPilot OpenAI API key.
66
65
67
-
- Download the contents of the the `mavproxy_chat / assistant_setup <https://github.com/ArduPilot/MAVProxy/tree/master/MAVProxy/modules/mavproxy_chat/assistant_setup>`__ directory
66
+
- Download the contents of the `mavproxy_chat / assistant_setup <https://github.com/ArduPilot/MAVProxy/tree/master/MAVProxy/modules/mavproxy_chat/assistant_setup>`__ directory
0 commit comments