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
6ddc4402
Commit
6ddc4402
authored
Oct 11, 2023
by
jyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add gevent grpc compatible
parent
dc0df564
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
milvus_vector_index.py
api/core/index/vector_index/milvus_vector_index.py
+3
-1
No files found.
api/core/index/vector_index/milvus_vector_index.py
View file @
6ddc4402
...
@@ -20,6 +20,7 @@ class MilvusConfig(BaseModel):
...
@@ -20,6 +20,7 @@ class MilvusConfig(BaseModel):
password
:
str
password
:
str
secure
:
bool
=
False
secure
:
bool
=
False
batch_size
:
int
=
100
batch_size
:
int
=
100
timeout
:
int
=
60
@
root_validator
()
@
root_validator
()
def
validate_config
(
cls
,
values
:
dict
)
->
dict
:
def
validate_config
(
cls
,
values
:
dict
)
->
dict
:
...
@@ -39,7 +40,8 @@ class MilvusConfig(BaseModel):
...
@@ -39,7 +40,8 @@ class MilvusConfig(BaseModel):
'port'
:
self
.
port
,
'port'
:
self
.
port
,
'user'
:
self
.
user
,
'user'
:
self
.
user
,
'password'
:
self
.
password
,
'password'
:
self
.
password
,
'secure'
:
self
.
secure
'secure'
:
self
.
secure
,
'timeout'
:
self
.
timeout
}
}
...
...
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