You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently seems that it's not possible to filter stories by topics, so an alternative way to achieve a custom filter is the usage on a Generative AI API.
Actually ChatGPT API are not free, so the alternative can be to use Gemini.
Filtering can be achieved by scanning titles, so the AI tries to filter stories by intersecting titles with user preferences.
# This is the 1st commit message:
chore: add test job
# This is the commit message #2:
chore: add debug env log
# This is the commit message #3:
fix: add environment name
# This is the commit message #4:
fix: add app_env secret
# This is the commit message #5:
fix: use var app_env
# This is the commit message #6:
chore: debug bot token
# This is the commit message #7:
fix: move env in deploy job
# This is the commit message #8:
chore: add env in deploy step
# This is the commit message #9:
chore: debug secret
# This is the commit message #10:
chore: another log
Problem
Apparently seems that it's not possible to filter stories by topics, so an alternative way to achieve a custom filter is the usage on a Generative AI API.
Actually ChatGPT API are not free, so the alternative can be to use Gemini.
Filtering can be achieved by scanning titles, so the AI tries to filter stories by intersecting titles with user preferences.
Gemini API Docs
v1beta
Gemini API introduced configuration for response mime types and response schema.Therefore this stuff should be done:
responseMimeType
to jsonresponseSchema
to a matching OpenAPI schema for desired result.This should be run as a cron-job like, with a daily schedule that runs an analysis for all users at once and sends updates.
https://docs.deno.com/deploy/kv/manual/cron/#cron-configuration-examples
The text was updated successfully, but these errors were encountered: