-
Notifications
You must be signed in to change notification settings - Fork 930
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #471 from julep-ai/x/fix-dploy-v0.4
- Loading branch information
Showing
21 changed files
with
273 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,69 @@ | ||
AGENTS_API_KEY=myauthkey | ||
AGENTS_API_KEY_HEADER_NAME=Authorization | ||
AGENTS_API_URL=http://agents-api:8080 | ||
COZO_AUTH_TOKEN=myauthkey | ||
COZO_HOST=http://memory-store:9070 | ||
COZO_PORT=9070 | ||
COZO_ROCKSDB_DIR=cozo.db | ||
DTYPE=float16 | ||
EMBEDDING_SERVICE_BASE=http://text-embeddings-inference | ||
EMBEDDING_SERVICE_URL=${EMBEDDING_SERVICE_BASE}/embed | ||
GATEWAY_PORT=80 | ||
GPU_MEMORY_UTILIZATION=0.90 | ||
|
||
HF_TOKEN= | ||
HUGGING_FACE_HUB_TOKEN= | ||
JWT_SHARED_KEY= | ||
|
||
MAX_MODEL_LEN=8192 | ||
MAX_NUM_SEQS=1 | ||
MNT_DIR=/data | ||
|
||
# Security | ||
# -------- | ||
JWT_SHARED_KEY=<your_jwt_shared_key> | ||
AGENTS_API_KEY=<your_agents_api_key> | ||
COZO_AUTH_TOKEN=<your_cozo_auth_token> | ||
TEMPORAL_POSTGRES_PASSWORD=<your_temporal_postgres_password> | ||
LITELLM_POSTGRES_PASSWORD=<your_litellm_postgres_password> | ||
LITELLM_MASTER_KEY=<your_litellm_master_key> | ||
LITELLM_REDIS_PASSWORD=<your_litellm_redis_password> | ||
SKIP_CHECK_DEVELOPER_HEADERS=true | ||
SUMMARIZATION_TOKENS_THRESHOLD=2048 | ||
TEMPERATURE_SCALING_FACTOR=0.9 | ||
TEMPERATURE_SCALING_POWER=0.9 | ||
TEMPORAL_ENDPOINT=temporal:7233 | ||
TEMPORAL_NAMESPACE=default | ||
TEMPORAL_WORKER_URL=temporal:7233 | ||
TP_SIZE=1 | ||
TRUNCATE_EMBED_TEXT=true | ||
TRAEFIK_LOG_LEVEL=DEBUG | ||
WORKER_URL=temporal:7233 | ||
|
||
AGENTS_API_DEBUG=false | ||
OPENAI_API_KEY= | ||
ANTHROPIC_API_KEY= | ||
GROQ_API_KEY= | ||
CLOUDFLARE_API_KEY= | ||
CLOUDFLARE_ACCOUNT_ID= | ||
NVIDIA_NIM_API_KEY= | ||
GITHUB_API_KEY= | ||
VOYAGE_API_KEY= | ||
GOOGLE_APPLICATION_CREDENTIALS= | ||
|
||
LITELLM_URL=http://litellm:4000 | ||
POSTGRES_DB=litellm | ||
POSTGRES_USER=llmproxy | ||
POSTGRES_PASSWORD= | ||
LITELLM_DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@litellm-db:5432/${POSTGRES_DB} | ||
LITELLM_MASTER_KEY= | ||
LITELLM_REDIS_HOST=litellm-redis | ||
LITELLM_REDIS_PORT=6379 | ||
LITELLM_REDIS_PASSWORD= | ||
REDIS_ARGS="--requirepass ${LITELLM_REDIS_PASSWORD}" | ||
EMBEDDING_SERVICE_BASE=http://text-embeddings-inference-<gpu|cpu> # Use the 'gpu' profile to run on GPU | ||
|
||
# Memory Store | ||
# ----------- | ||
|
||
# COZO_HOST=http://memory-store:9070 | ||
# COZO_PORT=9070 | ||
# COZO_ROCKSDB_DIR=cozo.db | ||
# COZO_BACKUP_DIR=backup | ||
# COZO_MNT_DIR=/data | ||
|
||
# Gateway | ||
# ------ | ||
|
||
# GATEWAY_PORT=80 | ||
# TRAEFIK_LOG_LEVEL=INFO | ||
|
||
# Agents API | ||
# --------- | ||
|
||
# AGENTS_API_KEY_HEADER_NAME=Authorization | ||
# AGENTS_API_URL=http://agents-api:8080 | ||
# TRUNCATE_EMBED_TEXT=true | ||
# WORKER_URL=temporal:7233 | ||
# AGENTS_API_DEBUG=false | ||
# EMBEDDING_MODEL_ID=Alibaba-NLP/gte-large-en-v1.5 | ||
# NUM_GPUS=1 | ||
|
||
# Temporal | ||
# -------- | ||
|
||
# TEMPORAL_ENDPOINT=temporal:7233 | ||
# TEMPORAL_NAMESPACE=default | ||
# TEMPORAL_WORKER_URL=temporal:7233 | ||
# TEMPORAL_POSTGRES_DB=temporal | ||
# TEMPORAL_POSTGRES_USER=temporal | ||
|
||
# LiteLLM | ||
# ------- | ||
|
||
# LITELLM_URL=http://litellm:4000 | ||
# LITELLM_POSTGRES_DB=litellm | ||
# LITELLM_POSTGRES_USER=llmproxy | ||
# LITELLM_REDIS_HOST=litellm-redis | ||
# LITELLM_REDIS_PORT=6379 | ||
|
||
# LLM Providers | ||
# -------------- | ||
|
||
# OPENAI_API_KEY=<your_openai_api_key> | ||
# HUGGING_FACE_HUB_TOKEN=<your_hugging_face_hub_token> | ||
# ANTHROPIC_API_KEY=<your_anthropic_api_key> | ||
# GROQ_API_KEY=<your_groq_api_key> | ||
# CLOUDFLARE_API_KEY=<your_cloudflare_api_key> | ||
# CLOUDFLARE_ACCOUNT_ID=<your_cloudflare_account_id> | ||
# NVIDIA_NIM_API_KEY=<your_nvidia_nim_api_key> | ||
# GITHUB_API_KEY=<your_github_api_key> | ||
# VOYAGE_API_KEY=<your_voyage_api_key> | ||
# GOOGLE_APPLICATION_CREDENTIALS=.keys/julep-vertexai-svc.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.10-slim | ||
FROM python:3.11-slim | ||
|
||
ENV PYTHONUNBUFFERED True | ||
ENV POETRY_CACHE_DIR=/tmp/poetry_cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.