add gpt-researcher
This commit is contained in:
@@ -5,3 +5,4 @@ resources:
|
|||||||
- renovate
|
- renovate
|
||||||
- ollama
|
- ollama
|
||||||
- librechat
|
- librechat
|
||||||
|
- researcher
|
||||||
|
|||||||
59
apps/researcher/deployment.yaml
Normal file
59
apps/researcher/deployment.yaml
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: gpt-resercher
|
||||||
|
namespace: gpt-researcher
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: gpt-resercher
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: gpt-resercher
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: gpt-resercher
|
||||||
|
image: gptresearcher/gpt-researcher:latest
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "2"
|
||||||
|
memory: "4Gi"
|
||||||
|
limits:
|
||||||
|
cpu: "3"
|
||||||
|
memory: "5Gi"
|
||||||
|
env:
|
||||||
|
- name: OPENAI_API_BASE
|
||||||
|
value: "http://ollama.ollama.svc.cluster.local:11434/v1"
|
||||||
|
- name: OPENAI_API_KEY
|
||||||
|
value: "123"
|
||||||
|
- name: OLLAMA_BASE_URL
|
||||||
|
value: "http://ollama.ollama.svc.cluster.local:11434"
|
||||||
|
- name: FAST_LLM
|
||||||
|
value: "openai:granite3.3:2b"
|
||||||
|
- name: SMART_LLM
|
||||||
|
value: "openai:granite3.3:8b"
|
||||||
|
- name: STRATEGIC_LLM
|
||||||
|
value: "openai:deepseek-r1:14b"
|
||||||
|
- name: EMBEDDING
|
||||||
|
value: "ollama:nomic-embed-text"
|
||||||
|
- name: RETRIEVER
|
||||||
|
value: duckduckgo
|
||||||
|
- name: SCRAPER
|
||||||
|
value: bs
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: gpt-resercher-service
|
||||||
|
namespace: gpt-researcher
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: gpt-resercher
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 8000
|
||||||
28
apps/researcher/ingress.yaml
Normal file
28
apps/researcher/ingress.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
namespace: gpt-researcher
|
||||||
|
name: researcher
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffering: "false"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: 30m
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: researcher.lumpiasty.xyz
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: gpt-resercher-service
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- researcher.lumpiasty.xyz
|
||||||
|
secretName: researcher-ingress
|
||||||
7
apps/researcher/kustomization.yaml
Normal file
7
apps/researcher/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- deployment.yaml
|
||||||
|
- ingress.yaml
|
||||||
5
apps/researcher/namespace.yaml
Normal file
5
apps/researcher/namespace.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: gpt-researcher
|
||||||
Reference in New Issue
Block a user