feat: add Gemini 2.5 Flash enrichment to web_search results

Fetch full page content per result, then call Gemini 2.5 Flash
(via OCI GenAI) to extract: abstract, date, author, tags,
content_type, and uuid. Enrichment runs in parallel (ThreadPoolExecutor).
enrich=False flag available to skip for raw/fast results.
This commit is contained in:
joungmin
2026-02-28 06:47:34 +09:00
parent 6e4125c707
commit 3b1ffb122f
4 changed files with 194 additions and 5 deletions

View File

@@ -1 +1,6 @@
SEARXNG_URL=https://searxng.cloud-handson.com
# OCI GenAI (auth via ~/.oci/config)
OCI_COMPARTMENT_ID=
OCI_GENAI_ENDPOINT= # e.g. https://inference.generativeai.us-ashburn-1.oci.oraclecloud.com
OCI_CHAT_MODEL_ID= # OCID of the model (use google.gemini-2.5-pro OCID)