Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
a0a9461f
Unverified
Commit
a0a9461f
authored
Jan 04, 2024
by
Jyong
Committed by
GitHub
Jan 04, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix/add qdrant timeout default value (#1901)
Co-authored-by:
jyong
<
jyong@dify.ai
>
parent
6a2eb5f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
.env.example
api/.env.example
+1
-0
config.py
api/config.py
+1
-0
docker-compose.yaml
docker/docker-compose.yaml
+4
-0
No files found.
api/.env.example
View file @
a0a9461f
...
...
@@ -65,6 +65,7 @@ WEAVIATE_BATCH_SIZE=100
# Qdrant configuration, use `http://localhost:6333` for local mode or `https://your-qdrant-cluster-url.qdrant.io` for remote mode
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=difyai123456
QDRANT_CLIENT_TIMEOUT=20
# Milvus configuration
MILVUS_HOST=127.0.0.1
...
...
api/config.py
View file @
a0a9461f
...
...
@@ -36,6 +36,7 @@ DEFAULTS = {
'SENTRY_PROFILES_SAMPLE_RATE'
:
1.0
,
'WEAVIATE_GRPC_ENABLED'
:
'True'
,
'WEAVIATE_BATCH_SIZE'
:
100
,
'QDRANT_CLIENT_TIMEOUT'
:
20
,
'CELERY_BACKEND'
:
'database'
,
'LOG_LEVEL'
:
'INFO'
,
'HOSTED_OPENAI_QUOTA_LIMIT'
:
200
,
...
...
docker/docker-compose.yaml
View file @
a0a9461f
...
...
@@ -92,6 +92,8 @@ services:
QDRANT_URL
:
http://qdrant:6333
# The Qdrant API key.
QDRANT_API_KEY
:
difyai123456
# The Qdrant clinet timeout setting.
QDRANT_CLIENT_TIMEOUT
:
20
# Milvus configuration Only available when VECTOR_STORE is `milvus`.
# The milvus host.
MILVUS_HOST
:
127.0.0.1
...
...
@@ -170,6 +172,8 @@ services:
QDRANT_URL
:
http://qdrant:6333
# The Qdrant API key.
QDRANT_API_KEY
:
difyai123456
# The Qdrant clinet timeout setting.
QDRANT_CLIENT_TIMEOUT
:
20
# Milvus configuration Only available when VECTOR_STORE is `milvus`.
# The milvus host.
MILVUS_HOST
:
127.0.0.1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment