跳转到主要内容
POST
/
base
/
{baseId}
/
chat
/
suggestions
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/base/{baseId}/chat/suggestions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "recommend",
  "lang": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

baseId
string
required

Body

application/json
type
enum<string>
required
可用选项:
recommend,
ask,
analyze,
build
lang
string

Response

200

Chat suggestions