change image for updated mapping prompt & switch to qwen3
This commit is contained in:
parent
05de0e24a3
commit
be1e0f1d28
2 changed files with 4 additions and 6 deletions
|
|
@ -22,12 +22,12 @@ spec:
|
||||||
- name: ollama-storage
|
- name: ollama-storage
|
||||||
mountPath: /root/.ollama
|
mountPath: /root/.ollama
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
args: ["ollama serve & sleep 5 && ollama pull qwen2.5:32b-instruct"]
|
args: ["ollama serve & sleep 5 && ollama pull qwen3:30b-a3b"]
|
||||||
|
|
||||||
|
|
||||||
- name: ollama-sidecar
|
- name: ollama-sidecar
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
restartPolicy: Always # This is the magic
|
restartPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: OLLAMA_DEBUG
|
- name: OLLAMA_DEBUG
|
||||||
value: "2"
|
value: "2"
|
||||||
|
|
@ -43,7 +43,7 @@ spec:
|
||||||
nvidia.com/gpu: 1
|
nvidia.com/gpu: 1
|
||||||
containers:
|
containers:
|
||||||
- name: analyst
|
- name: analyst
|
||||||
image: siriussec/summarizerlocal:2.8
|
image: siriussec/summarizerlocal:2.9
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: DB_PASSWORD
|
- name: DB_PASSWORD
|
||||||
|
|
@ -54,8 +54,6 @@ spec:
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: gemma-config
|
name: gemma-config
|
||||||
# Make sure your summarizer script talks to http://localhost:11434
|
|
||||||
# (or http://127.0.0.1:11434)
|
|
||||||
|
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ data:
|
||||||
DB_USER: "news_app"
|
DB_USER: "news_app"
|
||||||
DB_PORT: "5432"
|
DB_PORT: "5432"
|
||||||
LLM_URL: "http://localhost:11434"
|
LLM_URL: "http://localhost:11434"
|
||||||
MODEL_NAME: "qwen2.5:32b-instruct"
|
MODEL_NAME: "qwen3:39b-a3b"
|
||||||
SUMMARY_PROMPT: |
|
SUMMARY_PROMPT: |
|
||||||
SUMMARY_PROMPT: |
|
SUMMARY_PROMPT: |
|
||||||
You are Sirius Media a fast, Telegram-optimized news & trading insight generator.
|
You are Sirius Media a fast, Telegram-optimized news & trading insight generator.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue