-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OpenAI compatible Chat module #1278
Conversation
Very cool! I'd be interested if it could help users diagnose any issues with their configuration. Something like "why is my copter not arming" |
c18a86b
to
1cd4e89
Compare
I think this is a neat demo (though it does have its own problems) but I don't think the additional requirements justify including it into the official build. (I think you forgot some too). This would mean that every SITL run, every distro package, every CI invocation, etc. will need the additional packages. It's a virtue that this is very lightweight. Is there a supported framework for external modules? |
there is, but its a bit clunky |
d9d1474
to
feccdb7
Compare
openai package removed from requirements.
0189636
to
fc28a63
Compare
a2c1405
to
5ee49df
Compare
depencies are openai, wave and pyaudio
5ee49df
to
e9f5b51
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So cool!
cool |
I guess we are half close to being ironmen now. lol, Thank you All :D |
This adds a "chat" module that can interface with an OpenAI chatGPT-4 Assistant and control an Ardupilot vehicle (Copter, Plane, Rover, Sub). Note that running this requires either using my OpenAI API key or you must have your own and then run the provided setup_assistant.py script.
Below are some screenshots showing a typical interaction
There are some known issue we may want to resolve before merging:
Corresponding MAVProxy wiki PR ArduPilot/ardupilot_wiki#5651
Some references: