AI Argo/Python assistant based on OpenAI chat-GPT-v3.5 #282
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Let's have some fun with this new feature, a virtual assistant based on chatGPT
full disclosure: this is primarily made just for fun and to explore possibilities with the openai library
Requirements
pip install --upgrade openai
Usage
Create an assistant instance:
then, you can ask one question:
or trigger an interactive chat session:
in the end, you can still check out your conversation with the assistant:
The Assistant should adapt responses to your user mode:
Motivations
Fun !
Seriously: the Argo community report more than 20 pdf manuals, some with 10s of pages, hundreds of variables and so on... Given what's now and easily possible with python librairies, it should be possible to make a chat bot that could seriously help beginners with Argo data.