mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 21:51:20 +00:00
fix(anythingllm): /collector dir for doc upload
This commit is contained in:
parent
f1718de011
commit
c920ccf2a3
1 changed files with 15 additions and 12 deletions
|
@ -7,34 +7,26 @@ controllers:
|
||||||
tag: master
|
tag: master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
STORAGE_DIR: /data
|
STORAGE_DIR: /app/server/storage
|
||||||
# SERVER_PORT=3001
|
# SERVER_PORT=3001
|
||||||
# STORAGE_DIR="/app/server/storage"
|
# STORAGE_DIR="/app/server/storage"
|
||||||
# UID='1000'
|
# UID='1000'
|
||||||
# GID='1000'
|
# GID='1000'
|
||||||
# # JWT_SECRET="my-random-string-for-seeding" # Only needed if AUTH_TOKEN is set. Please generate random string at least 12 chars long.
|
# # JWT_SECRET="my-random-string-for-seeding" # Only needed if AUTH_TOKEN is set. Please generate random string at least 12 chars long.
|
||||||
#
|
#
|
||||||
###########################################
|
|
||||||
######## LLM API SElECTION ################
|
######## LLM API SElECTION ################
|
||||||
###########################################
|
|
||||||
LLM_PROVIDER: 'localai'
|
LLM_PROVIDER: 'localai'
|
||||||
LOCAL_AI_BASE_PATH: 'http://localai-local-ai.ai.svc.cluster.local/v1'
|
LOCAL_AI_BASE_PATH: 'http://localai-local-ai.ai.svc.cluster.local/v1'
|
||||||
# LOCAL_AI_MODEL_PREF: 'luna-ai-llama2'
|
LOCAL_AI_MODEL_PREF: 'thebloke__dolphin-2.2.1-mistral-7b-gguf__dolphin-2.2.1-mistral-7b.q5_k_m.gguf'
|
||||||
LOCAL_AI_MODEL_TOKEN_LIMIT: 1024
|
LOCAL_AI_MODEL_TOKEN_LIMIT: 1024
|
||||||
# LOCAL_AI_API_KEY="sk-123abc"
|
# LOCAL_AI_API_KEY="sk-123abc"
|
||||||
|
|
||||||
###########################################
|
|
||||||
######## Embedding API SElECTION ##########
|
######## Embedding API SElECTION ##########
|
||||||
###########################################
|
|
||||||
EMBEDDING_ENGINE: 'localai'
|
EMBEDDING_ENGINE: 'localai'
|
||||||
EMBEDDING_BASE_PATH: 'http://localai-local-ai.ai.svc.cluster.local/v1'
|
EMBEDDING_BASE_PATH: 'http://localai-local-ai.ai.svc.cluster.local/v1'
|
||||||
EMBEDDING_MODEL_PREF: 'text-embedding-ada-002'
|
EMBEDDING_MODEL_PREF: 'text-embedding-ada-002'
|
||||||
# EMBEDDING_MODEL_MAX_CHUNK_LENGTH=1000 # The max chunk size in chars a string to embed can be
|
EMBEDDING_MODEL_MAX_CHUNK_LENGTH: 1000
|
||||||
|
|
||||||
###########################################
|
|
||||||
######## Vector Database Selection ########
|
######## Vector Database Selection ########
|
||||||
###########################################
|
|
||||||
# Enable all below if you are using vector database: LanceDB.
|
|
||||||
VECTOR_DB: "lancedb"
|
VECTOR_DB: "lancedb"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
|
@ -58,10 +50,21 @@ persistence:
|
||||||
data:
|
data:
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: /data
|
|
||||||
readOnly: false
|
readOnly: false
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
type: persistentVolumeClaim
|
type: persistentVolumeClaim
|
||||||
|
globalMounts:
|
||||||
|
- path: /app/server/storage
|
||||||
|
collector:
|
||||||
|
enabled: true
|
||||||
|
type: emptyDir
|
||||||
|
globalMounts:
|
||||||
|
- path: /app/collector/hotdir
|
||||||
|
outputs:
|
||||||
|
enabled: true
|
||||||
|
type: emptyDir
|
||||||
|
globalMounts:
|
||||||
|
- path: /app/collector/outputs
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: false
|
privileged: false
|
||||||
|
|
Loading…
Reference in a new issue