Context-aware Product Recommendations Using Weather Data and AI Models

Traditional recommender systems generate product suggestions based on user purchase history or collaborative filtering techniques. Although effective under static conditions, dynamic contextual factors, such as weather conditions and geographic location, are frequently overlooked despite their clear influence on consumer behavior. To overcome these limitations, context-aware recommender systems integrate real-time situational data, including ambient temperature, precipitation, and demographic attributes, into the recommendation process, therefore providing more precise and relevant suggestions.An author-developed framework employs OpenAI’s GPT-3.5 Turbo and GPT-4 variants to produce personalized order recommendations. Upon receiving a user-provided location (e.g., “Pula”), current weather data are retrieved from an external API and combined with user profile information to construct contextualized prompts. These prompts are sent directly to the OpenAI API, which returns context-aware recommendations based on the provided inputs. By merging environmental context and user preferences with advanced generative AI, alongside a given product database, recommendations are demonstrated to be substantially more relevant than those produced using traditional methods.

Publication Details

Journal
AHFE international
Published
2025-01-01
DOI
https://doi.org/10.54941/ahfe1006786
Citations
1
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Context-aware Product Recommendations Using Weather Data and AI Models

1 citations
AHFE international
Geochemistry and Geologic Mapping
2.48
article

Context-aware Product Recommendations Using Weather Data and AI Models

article en
1 citations

Abstract

Traditional recommender systems generate product suggestions based on user purchase history or collaborative filtering techniques. Although effective under static conditions, dynamic contextual factors, such as weather conditions and geographic location, are frequently overlooked despite their clear influence on consumer behavior. To overcome these limitations, context-aware recommender systems integrate real-time situational data, including ambient temperature, precipitation, and demographic attributes, into the recommendation process, therefore providing more precise and relevant suggestions.An author-developed framework employs OpenAI’s GPT-3.5 Turbo and GPT-4 variants to produce personalized order recommendations. Upon receiving a user-provided location (e.g., “Pula”), current weather data are retrieved from an external API and combined with user profile information to construct contextualized prompts. These prompts are sent directly to the OpenAI API, which returns context-aware recommendations based on the provided inputs. By merging environmental context and user preferences with advanced generative AI, alongside a given product database, recommendations are demonstrated to be substantially more relevant than those produced using traditional methods.

AHFE internationalVol. 198
Climate action
Openalex Percentile: Top 7%
Geochemistry and Geologic Mapping
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Context-aware Product Recommendations Using Weather Data and AI Models · AHFE international (2025) | TGRS Research Map | TGRS