Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta Config #145

Merged
merged 4 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions config-beta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
llm:
# gpt-3.5-turbo or gpt-4
model: "gpt-3.5-turbo"
# Only used for Azure OpenAI API
azure_openai_endpoint:
# Use only with an alternate OpenAI-compatible API endpoint
openai_endpoint:
openai_org_id:
nlp:
server_url: "http://localhost:5557"
memory:
message_window: 12
extractors:
documents:
embeddings:
enabled: true
dimensions: 384
service: "local"
# dimensions: 1536
# service: "openai"
messages:
summarizer:
enabled: true
entities:
enabled: true
intent:
enabled: false
embeddings:
enabled: true
dimensions: 384
service: "local"
# dimensions: 1536
# service: "openai"
store:
type: "postgres"
postgres:
dsn: "postgres://postgres:postgres@localhost:5432/?sslmode=disable"
server:
port: 8000
auth:
# Set to true to enable authentication
required: false
# Do not use this secret in production. The ZEP_AUTH_SECRET environment variable should be
# set to a cryptographically secure secret. See the Zep docs for details.
secret: "do-not-use-this-secret-in-production"
data:
# PurgeEvery is the period between hard deletes, in minutes.
# If set to 0 or undefined, hard deletes will not be performed.
purge_every: 60
log:
level: "info"
38 changes: 15 additions & 23 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,23 @@ llm:
openai_endpoint:
openai_org_id:
nlp:
server_url: "http://localhost:5557"
server_url: "http://localhost:8080"
memory:
message_window: 12
extractors:
documents:
embeddings:
enabled: true
dimensions: 384
service: "local"
# dimensions: 1536
# service: "openai"
messages:
summarizer:
enabled: true
entities:
enabled: true
intent:
enabled: false
embeddings:
enabled: true
dimensions: 384
service: "local"
# dimensions: 1536
# service: "openai"
store:
summarizer:
enabled: true
entities:
enabled: true
intent:
enabled: true
embeddings:
enabled: true
dimensions: 1536
model: "AdaEmbeddingV2"
# dimensions: 768
# model: "local"
memory_store:
type: "postgres"
postgres:
dsn: "postgres://postgres:postgres@localhost:5432/?sslmode=disable"
Expand All @@ -48,4 +40,4 @@ data:
# If set to 0 or undefined, hard deletes will not be performed.
purge_every: 60
log:
level: "info"
level: "info"
10 changes: 5 additions & 5 deletions docker-compose-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
ports:
- "5432:5432"
nlp:
image: ghcr.io/getzep/zep-nlp-server:latest
image: ghcr.io/getzep/zep-nlp-server:0.3.0-beta.0
container_name: zep-nlp
env_file:
- .env # You can set your embedding-related variables here
Expand All @@ -36,7 +36,7 @@ services:
ports:
- "5557:5557"
zep:
image: ghcr.io/getzep/zep:latest
image: ghcr.io/getzep/zep:0.9.0-beta.0
container_name: zep
restart: on-failure
depends_on:
Expand All @@ -47,10 +47,10 @@ services:
ports:
- "8000:8000"
volumes:
- ./config.yaml:/app/config.yaml
- ./config-beta.yaml:/app/config.yaml
environment:
- ZEP_MEMORY_STORE_POSTGRES_DSN=postgres://postgres:postgres@db:5432/postgres?sslmode=disable
- ZEP_NLP_SERVER_URL=http://nlp:8080
- ZEP_STORE_POSTGRES_DSN=postgres://postgres:postgres@db:5432/postgres?sslmode=disable
- ZEP_NLP_SERVER_URL=http://nlp:5557
env_file:
- .env # Store your OpenAI API key here as ZEP_OPENAI_API_KEY
build:
Expand Down