3 ms·
Beautiful. The prompt in the GH repo is the same you used in your custom GPT?
by slig 2y ago
Beautiful. The prompt in the GH repo is the same you used in your custom GPT?
- thih9 2y agoFirst prompt: https://github.com/blixt/sol-mate-eink/blob/1236dbb66b80c8385d1c8b78f422f7e157734ed6/ai.py#L18 https://github.com/blixt/sol-mate-eink/blob/1236dbb66b80c838... > Get the weather data for {location}. If the location is not on Earth (fictional or otherwise), pick the place on Earth that is most visually similar to the location. Before you get the weather, reason about which temperature unit is most likely to be used at the location in question. That is the temperature unit you should use when getting the weather. Second: https://github.com/blixt/sol-mate-eink/blob/1236dbb66b80c8385d1c8b78f422f7e157734ed6/ai.py#L89 https://github.com/blixt/sol-mate-eink/blob/1236dbb66b80c838... > Here is the weather for the location "{location}": > {weather["status"]} > Use Dall-E to generate a beautiful illustration of the location in the style of a wide post card filling up the entire image. Try to describe a scene that is iconic and aesthetically pleasing for the location specified above, but also one that can showcase the weather. (…)
- blixt 2y agoSince GPTs only have the one prompt I had to specialize it for a multi-step process with tool use (since it has to call an endpoint and draw an image in one go). Here's the prompt that I use in the GPT: https://gist.github.com/blixt/44bbed23bee7f65b53fd3304781eddb4 https://gist.github.com/blixt/44bbed23bee7f65b53fd3304781edd...
- slig 2y agoThank you very much.