Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SWLab UI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
SWD
SWLab UI
Commits
80df7723
Commit
80df7723
authored
Sep 23, 2024
by
박민석
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update chat.js
parent
b5fcd118
Pipeline
#21167
passed with stages
in 3 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
08-chat.js
src/js/08-chat.js
+5
-6
No files found.
src/js/08-chat.js
View file @
80df7723
...
...
@@ -164,10 +164,10 @@
chatBody
.
appendChild
(
user
)
chatBody
.
scrollTop
=
chatBody
.
scrollHeight
//
if (!docType) {
//
createAiMessage('가이드 도움에 필요한 제품을 선택해주세요.')
//
return
//
}
if
(
!
docType
)
{
createAiMessage
(
'가이드 도움에 필요한 제품을 선택해주세요.'
)
return
}
isLoading
=
true
...
...
@@ -181,8 +181,7 @@
const
payload
=
{
question
:
message
,
// docsType: docType.toLowerCase(),
docsType
:
'bxi'
,
docsType
:
docType
.
toLowerCase
(),
}
fetch
(
'https://docs.bxi.link/ask'
,
{
...
...
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