Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qwgame
Project
Overview
Details
Activity
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
赵国君
qwgame
Commits
6faa3ec8
Commit
6faa3ec8
authored
Apr 11, 2019
by
赵国君
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some minor changes
parent
180a08d8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
4 deletions
+13
-4
.gitignore
.gitignore
+7
-0
ActionUtils.java
...qiwu/chatbotbackend/actiongenerate/utils/ActionUtils.java
+1
-1
ConfigTermText.java
...n/java/com/qiwu/chatbotbackend/entity/ConfigTermText.java
+2
-1
ElementConstructor.java
...om/qiwu/chatbotbackend/gameDesign/ElementConstructor.java
+1
-1
PlotConstructor2.java
.../com/qiwu/chatbotbackend/gameDesign/PlotConstructor2.java
+1
-0
GameBotUtil.java
.../java/com/qiwu/chatbotbackend/task/utils/GameBotUtil.java
+1
-1
No files found.
.gitignore
0 → 100644
View file @
6faa3ec8
/target/
.classpath
.project
.settings/
ChatCache/
vincent_player*
src/main/java/com/qiwu/chatbotbackend/actiongenerate/utils/ActionUtils.java
View file @
6faa3ec8
...
@@ -136,7 +136,7 @@ public class ActionUtils {
...
@@ -136,7 +136,7 @@ public class ActionUtils {
listeningText
=
actionText
.
toString
().
replace
(
"name="
+
conditionName
,
"name="
+
conditionName
+
"_listening"
);
listeningText
=
actionText
.
toString
().
replace
(
"name="
+
conditionName
,
"name="
+
conditionName
+
"_listening"
);
listeningText
=
listeningText
.
replace
(
"status=waiting"
,
"stat
es=listening"
);
listeningText
=
listeningText
.
replace
(
"status=waiting"
,
"stat
us=listening"
);
actionText
.
append
(
listeningText
);
actionText
.
append
(
listeningText
);
return
actionText
.
toString
();
return
actionText
.
toString
();
...
...
src/main/java/com/qiwu/chatbotbackend/entity/ConfigTermText.java
View file @
6faa3ec8
...
@@ -416,7 +416,8 @@ public class ConfigTermText implements Cloneable{
...
@@ -416,7 +416,8 @@ public class ConfigTermText implements Cloneable{
sb
.
append
(
hisPremise
);
sb
.
append
(
hisPremise
);
sb
.
append
(
"|"
).
append
(
feature
).
append
(
","
);
sb
.
append
(
"|"
).
append
(
feature
).
append
(
","
);
sb
.
append
(
updateKnowledge
).
append
(
","
);
sb
.
append
(
updateKnowledge
).
append
(
","
);
sb
.
append
(
nextStepStatus
).
append
(
"|"
);
//sb.append(nextStepStatus).append( "|");
sb
.
append
(
"|"
);
sb
.
append
(
"auxiliaryPriority="
);
sb
.
append
(
"auxiliaryPriority="
);
sb
.
append
(
auxiliaryPriority
).
append
(
"|"
).
append
(
"configName="
);
sb
.
append
(
auxiliaryPriority
).
append
(
"|"
).
append
(
"configName="
);
sb
.
append
(
configName
);
sb
.
append
(
configName
);
...
...
src/main/java/com/qiwu/chatbotbackend/gameDesign/ElementConstructor.java
View file @
6faa3ec8
...
@@ -212,7 +212,7 @@ public class ElementConstructor {
...
@@ -212,7 +212,7 @@ public class ElementConstructor {
conditionKeywords
=
keywordMap
.
get
(
intent
+
"_"
+
conditionName
).
toString
();
conditionKeywords
=
keywordMap
.
get
(
intent
+
"_"
+
conditionName
).
toString
();
configTermText
=
new
ConfigTermText
(
configTermText
=
new
ConfigTermText
(
conditionName
+
"::match-Include="
+
conditionKeywords
,
" "
,
conditionName
+
"::match-Include="
+
conditionKeywords
,
" "
,
"match
,return-0"
,
"match
"
,
""
,
""
,
" "
,
" "
,
module
+
"_query:"
+
queryMethod
+
":"
+
conditionName
module
+
"_query:"
+
queryMethod
+
":"
+
conditionName
...
...
src/main/java/com/qiwu/chatbotbackend/gameDesign/PlotConstructor2.java
View file @
6faa3ec8
...
@@ -673,6 +673,7 @@ public class PlotConstructor2 extends ElementConstructor {
...
@@ -673,6 +673,7 @@ public class PlotConstructor2 extends ElementConstructor {
}
}
//
public
void
unknownTypeConfigTermGenerate
(
String
configStatus
,
String
configName
,
String
historyPremise
,
String
feature
,
String
reply
,
String
updateKnowledge
){
public
void
unknownTypeConfigTermGenerate
(
String
configStatus
,
String
configName
,
String
historyPremise
,
String
feature
,
String
reply
,
String
updateKnowledge
){
...
...
src/main/java/com/qiwu/chatbotbackend/task/utils/GameBotUtil.java
View file @
6faa3ec8
...
@@ -72,7 +72,7 @@ public class GameBotUtil extends BasicBotUtil{
...
@@ -72,7 +72,7 @@ public class GameBotUtil extends BasicBotUtil{
//将上一轮使用的nextStep(condition)放在临时变量中
//将上一轮使用的nextStep(condition)放在临时变量中
String
activeList
[]
=
chatCache
.
getInfoPoint
().
get
(
"activeList"
).
split
(
"\\|"
);
String
activeList
[]
=
chatCache
.
getInfoPoint
().
get
(
"activeList"
).
split
(
"\\|"
);
if
(
activeList
.
length
==
0
){
if
(
activeList
.
length
==
0
){
chatCache
.
getInfoPoint
().
put
(
"临时变量condition"
,
"yaobuyao"
);
chatCache
.
getInfoPoint
().
put
(
"临时变量condition"
,
DEFAULT_CONDITION
);
}
else
{
}
else
{
chatCache
.
getInfoPoint
().
put
(
"临时变量condition"
,
activeList
[
activeList
.
length
-
1
]);
chatCache
.
getInfoPoint
().
put
(
"临时变量condition"
,
activeList
[
activeList
.
length
-
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