Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
Q
QASystemOnMedicalKG
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
lishen
QASystemOnMedicalKG
Commits
6c144d6e
Commit
6c144d6e
authored
Apr 17, 2023
by
lishen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] neo4j port
parent
507a36d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
build_medicalgraph.py
build_medicalgraph.py
+1
-1
chatbot_graph.py
chatbot_graph.py
+1
-1
No files found.
build_medicalgraph.py
View file @
6c144d6e
...
...
@@ -13,7 +13,7 @@ class MedicalGraph:
cur_dir
=
'/'
.
join
(
os
.
path
.
abspath
(
__file__
)
.
split
(
'/'
)[:
-
1
])
self
.
data_path
=
os
.
path
.
join
(
cur_dir
,
'data/medical.json'
)
self
.
g
=
Graph
(
'http://127.0.0.1:747
4
'
,
'http://127.0.0.1:747
6
'
,
user
=
"neo4j"
,
# 数据库user name,如果没有更改过,应该是neo4j
password
=
"neo4j"
)
...
...
chatbot_graph.py
View file @
6c144d6e
...
...
@@ -16,7 +16,7 @@ from answer_search import *
class
ChatBotGraph
:
def
__init__
(
self
):
self
.
g
=
Graph
(
'http://127.0.0.1:747
4
'
,
'http://127.0.0.1:747
6
'
,
user
=
"neo4j"
,
password
=
"neo4j"
)
self
.
classifier
=
QuestionClassifier
(
self
.
g
)
...
...
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