feat: Add Oghma RAG Proxy for SkyrimNet lore injection
RAG proxy that intercepts SkyrimNet LLM requests and enriches them with relevant Tamrielic lore from CHIM's Oghma Infinium database. Features: - FastAPI proxy compatible with OpenAI API - ChromaDB semantic search for lore retrieval - NPC profile extraction from SkyrimNet prompts - Google Sheets ingestion for CHIM's Oghma data - Kubernetes deployment manifests - Debug endpoint for RAG operation monitoring Collections ingested to iris-dev ChromaDB: - oghma_lore: 1951 entries (scholar knowledge) - oghma_basic: 1949 entries (commoner knowledge) - oghma_visual: 1151 entries (Omnisight perception) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
33
oghma-proxy/k8s/secret.yaml
Normal file
33
oghma-proxy/k8s/secret.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: oghma-proxy-secrets
|
||||
namespace: nimmersky
|
||||
labels:
|
||||
app.kubernetes.io/name: oghma-proxy
|
||||
app.kubernetes.io/part-of: nimmerverse
|
||||
type: Opaque
|
||||
stringData:
|
||||
# Replace with actual values or use external secret management
|
||||
OPENROUTER_API_KEY: "your-openrouter-api-key-here"
|
||||
UPSTREAM_URL: "https://openrouter.ai/api/v1"
|
||||
|
||||
---
|
||||
# Alternative: Use ExternalSecret with Vault/Vaultwarden
|
||||
# apiVersion: external-secrets.io/v1beta1
|
||||
# kind: ExternalSecret
|
||||
# metadata:
|
||||
# name: oghma-proxy-secrets
|
||||
# namespace: nimmersky
|
||||
# spec:
|
||||
# refreshInterval: 1h
|
||||
# secretStoreRef:
|
||||
# name: vault-backend
|
||||
# kind: ClusterSecretStore
|
||||
# target:
|
||||
# name: oghma-proxy-secrets
|
||||
# data:
|
||||
# - secretKey: OPENROUTER_API_KEY
|
||||
# remoteRef:
|
||||
# key: nimmerverse/skyrimnet
|
||||
# property: openrouter_api_key
|
||||
Reference in New Issue
Block a user