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
c6e2be5d
Commit
c6e2be5d
authored
Jul 12, 2023
by
StyleZhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/embedding' into deploy/dev
parents
365585ab
929f7d56
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
15 deletions
+9
-15
index.tsx
web/app/components/app/overview/embedded/index.tsx
+1
-1
template.en.mdx
web/app/components/develop/template/template.en.mdx
+0
-1
template.zh.mdx
web/app/components/develop/template/template.zh.mdx
+0
-1
template_chat.en.mdx
web/app/components/develop/template/template_chat.en.mdx
+4
-6
template_chat.zh.mdx
web/app/components/develop/template/template_chat.zh.mdx
+4
-6
No files found.
web/app/components/app/overview/embedded/index.tsx
View file @
c6e2be5d
...
...
@@ -24,7 +24,7 @@ const OPTION_MAP = {
src="
${
url
}
/chatbot/
${
token
}
"
style="width: 100%; height: 100%; min-height: 700px"
frameborder="0"
allow="
microphone
">
allow="
*
">
</iframe>`
,
},
scripts
:
{
...
...
web/app/components/develop/template/template.en.mdx
View file @
c6e2be5d
...
...
@@ -138,7 +138,6 @@ For high-quality text generation, such as articles, summaries, and translations,
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200
},
{
...
...
web/app/components/develop/template/template.zh.mdx
View file @
c6e2be5d
...
...
@@ -138,7 +138,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200
},
{
...
...
web/app/components/develop/template/template_chat.en.mdx
View file @
c6e2be5d
...
...
@@ -137,12 +137,11 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
"data": [
{
"id": "WAz8eIbvDR60rouK",
"username": "FrankMcCallister",
"phone_number": "1-800-759-3000",
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"inputs": {},
"query": "...",
"answer": "...",
"feedback": "like",
"created_at": 692233200
},
{
...
...
@@ -208,7 +207,6 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200
},
{
...
...
web/app/components/develop/template/template_chat.zh.mdx
View file @
c6e2be5d
...
...
@@ -142,7 +142,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200
},
{
...
...
@@ -203,12 +202,11 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
"data": [
{
"id": "WAz8eIbvDR60rouK",
"username": "FrankMcCallister",
"phone_number": "1-800-759-3000",
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"inputs": {},
"query": "...",
"answer": "...",
"feedback": "like",
"created_at": 692233200
},
{
...
...
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