feat(public-api): add experimental recommend endpoints for LLM consumption#3678
feat(public-api): add experimental recommend endpoints for LLM consumption#3678
Conversation
…ption Two new endpoints under /public/v1/recommend/ for surfacing daily.dev articles to AI agents and LLM-based tools: - /keyword — keyword-based search, supports pagination and time filters - /semantic — semantic search via Mimir, single-shot for LLM context Both marked experimental with x-daily-experimental header and response flag. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…only Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🍹 The Update (preview) for dailydotdev/api/prod (at ee703dc) was successful. ✨ Neo ExplanationThis is a standard application version rollout — all 7 services and 33 cron jobs are being updated to the new container image, with fresh database and ClickHouse migration jobs created for the new version. The primary thing to monitor is whether the two migration jobs complete successfully before traffic shifts to the new pods.Root Cause AnalysisA new version of the API application has been built and is being deployed to production. Every Kubernetes workload is being updated to run the new container image, replacing the previous version across all deployments and cron jobs. Dependency ChainThe new application version cascades uniformly across the entire fleet:
Risk analysisNo stateful resources (databases, storage buckets, persistent volumes) are being replaced or deleted. Deployments use rolling updates by default in Kubernetes, so the main API and worker services should update without downtime. The migration jobs run as one-off Kubernetes Jobs with Resource Changes Name Type Operation
~ vpc-native-update-tags-str-cron kubernetes:batch/v1:CronJob update
~ vpc-native-ws-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-worker-job-deployment kubernetes:apps/v1:Deployment update
+ vpc-native-api-db-migration-f1a49f81 kubernetes:batch/v1:Job create
~ vpc-native-clean-stale-user-transactions-cron kubernetes:batch/v1:CronJob update
~ vpc-native-private-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-temporal-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-user-profile-updated-sync-cron kubernetes:batch/v1:CronJob update
~ vpc-native-expire-super-agent-trial-cron kubernetes:batch/v1:CronJob update
~ vpc-native-squad-posts-analytics-refresh-cron kubernetes:batch/v1:CronJob update
~ vpc-native-calculate-top-readers-cron kubernetes:batch/v1:CronJob update
+ vpc-native-api-clickhouse-migration-f1a49f81 kubernetes:batch/v1:Job create
~ vpc-native-daily-digest-cron kubernetes:batch/v1:CronJob update
~ vpc-native-personalized-digest-deployment kubernetes:apps/v1:Deployment update
- vpc-native-api-db-migration-f1ee2605 kubernetes:batch/v1:Job delete
~ vpc-native-clean-zombie-images-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-source-public-threshold-cron kubernetes:batch/v1:CronJob update
~ vpc-native-post-analytics-history-day-clickhouse-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-highlighted-views-cron kubernetes:batch/v1:CronJob update
~ vpc-native-sync-subscription-with-cio-cron kubernetes:batch/v1:CronJob update
~ vpc-native-bg-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-user-posts-analytics-refresh-cron kubernetes:batch/v1:CronJob update
~ vpc-native-clean-zombie-opportunities-cron kubernetes:batch/v1:CronJob update
~ vpc-native-personalized-digest-cron kubernetes:batch/v1:CronJob update
~ vpc-native-user-profile-analytics-history-clickhouse-cron kubernetes:batch/v1:CronJob update
~ vpc-native-validate-active-users-cron kubernetes:batch/v1:CronJob update
~ vpc-native-agents-digest-cron kubernetes:batch/v1:CronJob update
~ vpc-native-generic-referral-reminder-cron kubernetes:batch/v1:CronJob update
~ vpc-native-user-profile-analytics-clickhouse-cron kubernetes:batch/v1:CronJob update
~ vpc-native-clean-gifted-plus-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-tag-recommendations-cron kubernetes:batch/v1:CronJob update
- vpc-native-api-clickhouse-migration-f1ee2605 kubernetes:batch/v1:Job delete
~ vpc-native-update-views-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-achievement-rarity-cron kubernetes:batch/v1:CronJob update
~ vpc-native-clean-zombie-users-cron kubernetes:batch/v1:CronJob update
~ vpc-native-generate-search-invites-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-current-streak-cron kubernetes:batch/v1:CronJob update
~ vpc-native-hourly-notification-cron kubernetes:batch/v1:CronJob update
~ vpc-native-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-clean-zombie-user-companies-cron kubernetes:batch/v1:CronJob update
~ vpc-native-post-analytics-clickhouse-cron kubernetes:batch/v1:CronJob update
... and 5 other changes |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…end endpoints Semantic endpoint no longer passes unused $after variable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Two new endpoints under /public/v1/recommend/ for surfacing daily.dev articles to AI agents and LLM-based tools:
Both marked experimental with x-daily-experimental header and response flag.