gcloud-lab/apps/base/customer1/news_bot/configmap.yaml

34 lines
1.6 KiB
YAML
Raw Normal View History

2026-01-13 04:27:16 +00:00
apiVersion: v1
kind: ConfigMap
metadata:
name: news-app-config
2026-01-16 20:33:37 +00:00
namespace: customer1
2026-01-13 04:27:16 +00:00
data:
DB_HOST: "siriusdevops-pgdb-rw"
2026-01-13 04:27:16 +00:00
DB_NAME: "news_app_db"
DB_USER: "news_app"
DB_PORT: "5432"
2026-01-16 20:33:37 +00:00
LLM_URL: "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent"
2026-03-23 21:07:20 +00:00
MODEL_NAME: ""
2026-01-13 04:27:16 +00:00
SUMMARY_PROMPT: |
2026-02-03 01:56:09 +00:00
You are an expert news analyst working for DARPA. Your task is to deliver thorough, insightful analysis of the provided news articles.
2026-01-26 05:24:53 +00:00
2026-02-03 01:56:09 +00:00
ARTICLES:
{data}
Instructions:
- Identify the 36 most impactful events or developments (prioritize geopolitical, technological, military, economic, or security implications).
- For each impactful event: Write a detailed 46 sentence summary, including key facts, context, potential consequences, and why it matters strategically.
- For all remaining/lesser articles: Write 24 cohesive paragraphs synthesizing them into broader themes or trends (do NOT list them individually unless critical).
- Aim for a total output length of 400800 words. Be comprehensive but concise.
- Always produce substantial content — even if articles seem minor, extract value, implications, or connections.
- Use neutral, professional, analytical tone with precise language.
- Structure your response clearly with headings like:
## Most Impactful Events
### Event 1: [Brief Title]
[46 sentences...]
...
## Synthesis of Lesser Developments
[Paragraphs...]
- Output ONLY the structured report — no introductions, apologies, or meta-comments like "no major events found".