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
a6241be4
Unverified
Commit
a6241be4
authored
Dec 01, 2023
by
simpx
Committed by
GitHub
Dec 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Fix typo in documentation: change 'converation' to 'conversation' (#1665)
parent
faa88aaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
template_chat.en.mdx
web/app/components/develop/template/template_chat.en.mdx
+5
-5
template_chat.zh.mdx
web/app/components/develop/template/template_chat.zh.mdx
+5
-5
No files found.
web/app/components/develop/template/template_chat.en.mdx
View file @
a6241be4
...
@@ -363,7 +363,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
...
@@ -363,7 +363,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
---
---
<Heading
<Heading
url='/conversations/{converation_id}/name'
url='/conversations/{conver
s
ation_id}/name'
method='POST'
method='POST'
title='Conversation renaming'
title='Conversation renaming'
name='#rename'
name='#rename'
...
@@ -385,10 +385,10 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
...
@@ -385,10 +385,10 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
</Col>
</Col>
<Col sticky>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/conversations/{converation_id}/name" targetCode={`curl --location --request POST '${props.appDetail.api_base_url}/conversations/name' \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{ \n "name": "", \n "user": "abc-123"\n}'`}>
<CodeGroup title="Request" tag="POST" label="/conversations/{conver
s
ation_id}/name" targetCode={`curl --location --request POST '${props.appDetail.api_base_url}/conversations/name' \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{ \n "name": "", \n "user": "abc-123"\n}'`}>
```bash {{ title: 'cURL' }}
```bash {{ title: 'cURL' }}
curl --location --request POST '${props.appDetail.api_base_url}/conversations/{converation_id}/name' \
curl --location --request POST '${props.appDetail.api_base_url}/conversations/{conver
s
ation_id}/name' \
--header 'Content-Type: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--data-raw '{
--data-raw '{
...
@@ -413,7 +413,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
...
@@ -413,7 +413,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
---
---
<Heading
<Heading
url='/conversations/{converation_id}'
url='/conversations/{conver
s
ation_id}'
method='DELETE'
method='DELETE'
title='Conversation deletion'
title='Conversation deletion'
name='#delete'
name='#delete'
...
@@ -432,7 +432,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
...
@@ -432,7 +432,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
</Col>
</Col>
<Col sticky>
<Col sticky>
<CodeGroup title="Request" tag="DELETE" label="/conversations/{converation_id}" targetCode={`curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{conversation_id}' \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{ \n "user": "abc-123"\n}'`}>
<CodeGroup title="Request" tag="DELETE" label="/conversations/{conver
s
ation_id}" targetCode={`curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{conversation_id}' \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{ \n "user": "abc-123"\n}'`}>
```bash {{ title: 'cURL' }}
```bash {{ title: 'cURL' }}
curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{convsation_id}' \
curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{convsation_id}' \
...
...
web/app/components/develop/template/template_chat.zh.mdx
View file @
a6241be4
...
@@ -363,7 +363,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
...
@@ -363,7 +363,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
---
---
<Heading
<Heading
url='/conversations/{converation_id}/name'
url='/conversations/{conver
s
ation_id}/name'
method='POST'
method='POST'
title='会话重命名'
title='会话重命名'
name='#rename'
name='#rename'
...
@@ -385,10 +385,10 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
...
@@ -385,10 +385,10 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
</Col>
</Col>
<Col sticky>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/conversations/{converation_id}/name" targetCode={`curl --location --request POST '${props.appDetail.api_base_url}/conversations/name' \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{ \n "name": "", \n "user": "abc-123"\n}'`}>
<CodeGroup title="Request" tag="POST" label="/conversations/{conver
s
ation_id}/name" targetCode={`curl --location --request POST '${props.appDetail.api_base_url}/conversations/name' \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{ \n "name": "", \n "user": "abc-123"\n}'`}>
```bash {{ title: 'cURL' }}
```bash {{ title: 'cURL' }}
curl --location --request POST '${props.appDetail.api_base_url}/conversations/{converation_id}/name' \
curl --location --request POST '${props.appDetail.api_base_url}/conversations/{conver
s
ation_id}/name' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Content-Type: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
--data-raw '{
...
@@ -412,7 +412,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
...
@@ -412,7 +412,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
---
---
<Heading
<Heading
url='/conversations/{converation_id}'
url='/conversations/{conver
s
ation_id}'
method='DELETE'
method='DELETE'
title='删除会话'
title='删除会话'
name='#delete'
name='#delete'
...
@@ -431,7 +431,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
...
@@ -431,7 +431,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
</Col>
</Col>
<Col sticky>
<Col sticky>
<CodeGroup title="Request" tag="DELETE" label="/conversations/{converation_id}" targetCode={`curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{conversation_id}' \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{ \n "user": "abc-123"\n}'`}>
<CodeGroup title="Request" tag="DELETE" label="/conversations/{conver
s
ation_id}" targetCode={`curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{conversation_id}' \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{ \n "user": "abc-123"\n}'`}>
```bash {{ title: 'cURL' }}
```bash {{ title: 'cURL' }}
curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{convsation_id}' \
curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{convsation_id}' \
...
...
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