diff --git a/apps/base/customer1/news_bot/analyst-cronjob.yaml b/apps/base/customer1/news_bot/analyst-cronjob.yaml deleted file mode 100644 index fc67cc6..0000000 --- a/apps/base/customer1/news_bot/analyst-cronjob.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: batch/v1 -kind: CronJob -metadata: - name: analyst-gemma - namespace: customer1 -spec: - schedule: "15 * * * *" - jobTemplate: - spec: - template: - spec: - containers: - - name: analyst - image: siriussec/summarizerlocal:3.5 - imagePullPolicy: Always - env: - - name: DB_PASSWORD - valueFrom: - secretKeyRef: - name: news-app-password - key: password - envFrom: - - configMapRef: - name: gemma-config - - restartPolicy: OnFailure - diff --git a/apps/base/customer1/news_bot/analyst-gemini-cronjob.yaml b/apps/base/customer1/news_bot/analyst-gemini-cronjob.yaml deleted file mode 100644 index 0cbc9e5..0000000 --- a/apps/base/customer1/news_bot/analyst-gemini-cronjob.yaml +++ /dev/null @@ -1,31 +0,0 @@ - -apiVersion: batch/v1 -kind: CronJob -metadata: - name: news-analyst-gemini - namespace: customer1 - -spec: - schedule: "15 * * * *" - jobTemplate: - spec: - template: - spec: - containers: - - name: analyst-gemini - image: siriussec/summarizer:1.5 - - env: - - name: DB_PASSWORD - valueFrom: - secretKeyRef: - name: news-app-password - key: password - envFrom: - - configMapRef: - name: news-app-config - - - - secretRef: - name: gemini-apikey - restartPolicy: OnFailure diff --git a/apps/base/customer1/news_bot/configmap.yaml b/apps/base/customer1/news_bot/configmap.yaml deleted file mode 100644 index 6485cdc..0000000 --- a/apps/base/customer1/news_bot/configmap.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: news-app-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://rtx6000-brain-service.customer1.svc.cluster.local:8000/v1" - MODEL_NAME: "edp1096/Huihui-Qwen3.6-27B-abliterated-FP8" - LLM_API_KEY: "sk-dummy" - SUMMARY_PROMPT: | - You are an expert news analyst working for DARPA. Your task is to deliver thorough, insightful analysis of the provided news articles. - - ARTICLES: - {data} - - Instructions: - - Identify the 3–6 most impactful events or developments (prioritize geopolitical, technological, military, economic, or security implications). - - For each impactful event: Write a detailed 4–6 sentence summary, including key facts, context, potential consequences, and why it matters strategically. - - For all remaining/lesser articles: Write 2–4 cohesive paragraphs synthesizing them into broader themes or trends (do NOT list them individually unless critical). - - Aim for a total output length of 400–800 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] - [4–6 sentences...] - ... - ## Synthesis of Lesser Developments - [Paragraphs...] - - Output ONLY the structured report — no introductions, apologies, or meta-comments like "no major events found". diff --git a/apps/base/customer1/news_bot/deepseek-summarizer.yaml b/apps/base/customer1/news_bot/deepseek-summarizer.yaml deleted file mode 100644 index 2956802..0000000 --- a/apps/base/customer1/news_bot/deepseek-summarizer.yaml +++ /dev/null @@ -1,30 +0,0 @@ - -apiVersion: batch/v1 -kind: CronJob -metadata: - name: deepseek-analyst-v1.1 - namespace: customer1 -spec: - schedule: "15 * * * *" - jobTemplate: - spec: - template: - spec: - containers: - - name: analyst - image: siriussec/summarizerlocal:3.6 - imagePullPolicy: Always - env: - - name: DB_PASSWORD - valueFrom: - secretKeyRef: - name: news-app-password - key: password - envFrom: - - configMapRef: - name: deepseek-config - resources: - requests: - cpu: "1" - memory: "4Gi" - restartPolicy: OnFailure diff --git a/apps/base/customer1/news_bot/gemini-apikey.yaml b/apps/base/customer1/news_bot/gemini-apikey.yaml deleted file mode 100644 index daabee1..0000000 --- a/apps/base/customer1/news_bot/gemini-apikey.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: v1 -data: - GEMINI_API_KEY: ENC[AES256_GCM,data:EcyraxRLXiWWQVhJNmmUGut6AmSMA8BvFg0X/PoP2ckclcFas8pU7GfsmMXFD9arcuCJpg==,iv:52YNqcPGWQqQY4jdfc8DtP6dROTsxJqUDahXzEN3ycI=,tag:Q/9l0mDG+5sjTLKt5Jg4sw==,type:str] -kind: Secret -metadata: - creationTimestamp: null - name: gemini-apikey - namespace: customer1 -sops: - age: - - recipient: age1uuxf066xuuqgvjppxfcmqkwfcufnwp3wcwnl9h20g9k4l8nkw9jsaungf7 - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBTcGdQb0tMdWtiTkl3aWZt - dnl4ZHo3aHZ4bGgvR1Rva0E5dlloQlRGY0d3CmMwOUJWb3NlWEtRVEk3STJ5MWVk - d21ZNzkyeHBZQTF3dWhYdUlSZEtQQkEKLS0tIEUrU3M2UGh5Y1BPTUhRQi9NK2VN - Vi83QzhjcG45U1B1WTJGcklFdkRvQjQK/jAjKf3wCZCpHp5naJoitHfN1yEEqmoN - p5AMB97oTtyVhvu3wkRrxqHB8LKNWZifaJf8g13To1OgFh9azC/Kng== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2026-01-16T20:31:27Z" - mac: ENC[AES256_GCM,data:7y9LrLu+bngdTuhb1ucIDnvg3jpKgXW6rXMpS6O08nxHHBKAKA6Jl80PsfOE0aQNSsIM2ERfrdGmfLkNh470oB/erGvEHxRLKcf8IStPxoPpry99XffiVo+QJrCPIzqgKy1tw37bqBNrm5LJkhUmugzf/IVt6WKiGCZhpbXjB7E=,iv:RfK084/orIGcRwXMeAip0BKXJ3eYJoRmEgLF72ER9vA=,tag:NKqZKIrt3yVkGL4ZkqcZKA==,type:str] - encrypted_regex: ^(data|stringData)$ - version: 3.11.0 diff --git a/apps/base/customer1/news_bot/gemma-configmap.yaml b/apps/base/customer1/news_bot/gemma-configmap.yaml deleted file mode 100644 index aadf519..0000000 --- a/apps/base/customer1/news_bot/gemma-configmap.yaml +++ /dev/null @@ -1,63 +0,0 @@ -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://rtx6000-brain-service.customer1.svc.cluster.local:8000/v1" - MODEL_NAME: "edp1096/Huihui-Qwen3.6-27B-abliterated-FP8" - LLM_API_KEY: "sk-dummy" - - 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} diff --git a/apps/base/customer1/news_bot/new_deepseek.yaml b/apps/base/customer1/news_bot/news_analyst.yaml similarity index 95% rename from apps/base/customer1/news_bot/new_deepseek.yaml rename to apps/base/customer1/news_bot/news_analyst.yaml index 0b5caec..c26e353 100644 --- a/apps/base/customer1/news_bot/new_deepseek.yaml +++ b/apps/base/customer1/news_bot/news_analyst.yaml @@ -1,5 +1,3 @@ - - apiVersion: batch/v1 kind: CronJob metadata: @@ -27,5 +25,5 @@ spec: resources: requests: cpu: "1" - memory: "2Gi" + memory: "1Gi" restartPolicy: OnFailure diff --git a/apps/base/customer1/news_bot/ollama-storage.yaml b/apps/base/customer1/news_bot/ollama-storage.yaml deleted file mode 100644 index 7e8a17e..0000000 --- a/apps/base/customer1/news_bot/ollama-storage.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: ollama-storage - namespace: customer1 -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 50Gi