- news-app-db.yaml: point Database CR to siriusdevops-pgdb - All ConfigMaps: DB_HOST=siriusdevops-pgdb-rw, LLM_BASE_URL for vLLM - hermes-pgdb now dedicated to pgvector/RAG for agents only - Aligns with CNPG extension pattern and active kanban (devops startupProbes, backend exec-service) PR to master per repo rules.
62 lines
2.4 KiB
YAML
62 lines
2.4 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: gemma-config
|
|
namespace: customer1
|
|
data:
|
|
DB_HOST: "siriusdevops-pgdb-rw"
|
|
DB_NAME: "news_app_db"
|
|
DB_USER: "news_app"
|
|
DB_PORT: "5432"
|
|
LLM_BASE_URL: "http://a100-brain-vllm:8000/v1"
|
|
MODEL_NAME: "mistral-small"
|
|
|
|
MAP_PROMPT: |
|
|
You are a state of the art AI News analysis
|
|
|
|
working for a independent day trader. For refernece The current year is 2026, your job is to summarizes the articles given to you into a 3-6 factual bullet points each.
|
|
You are looking for any news that may effect the stock or futures market. Specifically the futures. These articles are from world wide sources and in many languages . Translate all to english.
|
|
Rate eash article on a scale of 1-10 depending on it's possible market effects . 1 being no effect 10 being a critical event . In each event with market relevance be sure to list the tickers or futures symbols that will be affected.
|
|
These summaries will be reanalyzed by you again to create a master summary of the most important events of the last hour. So leave any notes that may be useful.
|
|
|
|
data:
|
|
{batch_text}
|
|
|
|
|
|
SUMMARY_PROMPT: |
|
|
Role: Futures Analyst AI for funded traders.
|
|
Objective: Extract actionable "edges" and volatility signals from news batches for Equity Indices, Energies, Metals, Ag, and FX.
|
|
|
|
Task:
|
|
|
|
Filter: Ignore noise (sports, entertainment, local). Deep-analyze only top 5-10 high-signal articles.
|
|
|
|
Criteria: Scan for Economic Data (Fed/CPI), Geopolitics, Supply/Demand shifts, and Corporate news impacting futures.
|
|
|
|
Analyze: Assess Impact (H/M/L), Direction (Bullish/Bearish), Trading Edge (actionable strategy), and Confidence Score (1-10).
|
|
|
|
Output (Telegram-friendly Markdown + Emojis):
|
|
📊 Summary Dashboard
|
|
|
|
Scanned: [Total] | Relevant: [Count]
|
|
|
|
Affected: [e.g., CL, ES, NQ]
|
|
|
|
Alert: [Brief sentiment summary]
|
|
|
|
🔥 Detailed Insights (Title/Source/Time)
|
|
|
|
Summary: [1-2 sentences]
|
|
|
|
Impact: [Contract/Direction/Rationale]
|
|
|
|
Trading Edge: [Actionable entry/exit/monitoring signal]
|
|
|
|
Confidence: [1-10]
|
|
|
|
👀 Watchlist: [Low-impact/monitoring items]
|
|
If empty, output: "No significant futures-impacting news in this batch."
|
|
|
|
Constraint: Objective, data-driven, no hype. Use historical analogies to quantify moves where possible.
|
|
|
|
Data to analyze: {final_input}
|