mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
fix: Fix typo in documentation: change 'converation' to 'conversation' (#1665)
This commit is contained in:
parent
faa88aafe8
commit
a6241be42a
|
@ -363,7 +363,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
|
|||
---
|
||||
|
||||
<Heading
|
||||
url='/conversations/{converation_id}/name'
|
||||
url='/conversations/{conversation_id}/name'
|
||||
method='POST'
|
||||
title='Conversation renaming'
|
||||
name='#rename'
|
||||
|
@ -385,10 +385,10 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
|
|||
</Col>
|
||||
<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/{conversation_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' }}
|
||||
curl --location --request POST '${props.appDetail.api_base_url}/conversations/{converation_id}/name' \
|
||||
curl --location --request POST '${props.appDetail.api_base_url}/conversations/{conversation_id}/name' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
|
||||
--data-raw '{
|
||||
|
@ -413,7 +413,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
|
|||
---
|
||||
|
||||
<Heading
|
||||
url='/conversations/{converation_id}'
|
||||
url='/conversations/{conversation_id}'
|
||||
method='DELETE'
|
||||
title='Conversation deletion'
|
||||
name='#delete'
|
||||
|
@ -432,7 +432,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
|
|||
</Col>
|
||||
<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/{conversation_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' }}
|
||||
curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{convsation_id}' \
|
||||
|
|
|
@ -363,7 +363,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
|
|||
---
|
||||
|
||||
<Heading
|
||||
url='/conversations/{converation_id}/name'
|
||||
url='/conversations/{conversation_id}/name'
|
||||
method='POST'
|
||||
title='会话重命名'
|
||||
name='#rename'
|
||||
|
@ -385,10 +385,10 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
|
|||
</Col>
|
||||
<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/{conversation_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' }}
|
||||
curl --location --request POST '${props.appDetail.api_base_url}/conversations/{converation_id}/name' \
|
||||
curl --location --request POST '${props.appDetail.api_base_url}/conversations/{conversation_id}/name' \
|
||||
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
|
@ -412,7 +412,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
|
|||
---
|
||||
|
||||
<Heading
|
||||
url='/conversations/{converation_id}'
|
||||
url='/conversations/{conversation_id}'
|
||||
method='DELETE'
|
||||
title='删除会话'
|
||||
name='#delete'
|
||||
|
@ -431,7 +431,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
|
|||
</Col>
|
||||
<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/{conversation_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' }}
|
||||
curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{convsation_id}' \
|
||||
|
|
Loading…
Reference in New Issue
Block a user