sequenceDiagram
actor User
User->>Copilot: What's the weather like today?
participant LM as Language model<br />(Gurbo)
Copilot->>LM: Pick a plugin from the following list for this prompt:<br />Prompt: "What's the weather like today?"<br />Plugins:<br />1. Sports: get info about sporting events<br />2. Weather: get the current weather for a region<br />3. News: get recent news on a topic<br />Just say the plugin name, nothing else
LM->>Copilot: Weather
Copilot->>Weather plugin: Get current weather for <device location>
Weather plugin->>Copilot: { temp: 70, unit: "F", sky: "sunny" }
Copilot->>LM: Summarize this weather: '{ temp: 70, unit: "F", sky: "sunny" }'<br />Be professional and friendly
LM->>Copilot: The current weather is a pleasant 70°F with sunny skies.<br />Enjoy the beautiful weather!
Copilot->>User: The current weather is a pleasant 70°F with sunny skies.<br />Enjoy the beautiful weather!<br />Learn more at weather.example.com
Last active
November 21, 2023 06:46
-
-
Save mark-wiemer/19ba25dd393fff82efc3db79d27f7f91 to your computer and use it in GitHub Desktop.
2023-11-20 weather sample ChatGPT plugins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment