Skip to content

Update adservice and recommendationservice to use AI#2

Open
txase wants to merge 10 commits into
Archodex:mainfrom
txase:main
Open

Update adservice and recommendationservice to use AI#2
txase wants to merge 10 commits into
Archodex:mainfrom
txase:main

Conversation

@txase

@txase txase commented Dec 18, 2025

Copy link
Copy Markdown
Member

This PR adds AI functionality in place of the stub ad and recommendation algorithms.

Remaining work:

  • Update k8s configuration for recommendationservice to provide a secret value for OPENROUTER_API_KEY
  • Update k8s configuration for adservice to provide secret values for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY

I've only tested these apps locally, but I verified docker build . still works for each service.

@txase txase requested a review from ajantrania December 18, 2025 00:21
ajantrania and others added 4 commits December 19, 2025 16:01
- Expose AWS Bedrock credentials for adservice via secretKeyRef
- Expose OpenRouter API key for recommendationservice via secretKeyRef
- Add llm-config ConfigMap for overridable settings (AWS_REGION, timeout)
Our cache size is only meant to hold gen AI based recommendations. The
current code is exhausting the cache, leading to too many requests being
made to the openrouter service.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants