AI Assist DM is a Chrome extension designed to integrate ChatGPT with oplaTool. Its primary goal is to assist decision-makers (DMs) in selecting the most appropriate objective function for optimizing the PLA to meet their specific goals.
- Pre-setup: Open ChatGPT in a new tab and start a new chat (signing in is optional).
- Connect: Click the Connect button to establish a connection with the WebSocket.
- Wait: Allow a moment for the connection to be successfully established.
- Ready: Once connected, the extension is ready to receive and send messages.
- Disconnect: To disconnect, simply click the Disconnect button.
- Test: To verify the extension is functioning correctly, click the Send test message button. This test operates independently of the connection status.
Messages intended for the extension should be in the following format:
{
"from": "CLIENT",
"content": "This is an example prompt for ChatGPT."
}If the attribute from isn't present or its value is not "CLIENT", the message will be ignored. Otherwise, the extension will send the prompt to ChatGPT and wait for the response to be fully generated. The answer will be sent back to the WebSocket in the following format:
{
"from": "CHAT_GPT",
"content": "This is an example of an answer."
}For instructions on contributing and working with this project, please refer to the quickstart.md file.
This project was bootstrapped with Chrome Extension CLI.