3 ms·
This is really cool. For the user data, should we assume you're using the user IP address to then look up weather and time?
by ashryan 2y ago
This is really cool. For the user data, should we assume you're using the user IP address to then look up weather and time?
- kakauandme 2y agoCheers, and yes, you are right. Cloudflare provides geolocation info in the headers, and then I pull the weather for it. I also convert data into a more comprehendible format for the LLM. For example, I turn local time into words like "afternoon", "early evening" etc.