Files
FastGPT/document/content/docs/introduction/guide/course/chat_input_guide.en.mdx
T
Archer 4b24472106 docs(i18n): translate final 9 files in introduction directory (#6471)
* docs(i18n): translate batch 1

* docs(i18n): translate batch 2

* docs(i18n): translate batch 3 (20 files)

- openapi/: app, share
- faq/: all 8 files
- use-cases/: index, external-integration (5 files), app-cases (4 files)

Translated using North American style with natural, concise language.
Preserved MDX syntax, code blocks, images, and component imports.

* docs(i18n): translate protocol docs

* docs(i18n): translate introduction docs (part 1)

* docs(i18n): translate use-cases docs

* docs(i18n): translate introduction docs (part 2 - batch 1)

* docs(i18n): translate final 9 files

* fix(i18n): fix YAML and MDX syntax errors in translated files

- Add quotes to description with colon in submit_application_template.en.mdx
- Remove duplicate Chinese content in translate-subtitle-using-gpt.en.mdx
- Fix unclosed details tag issue

* docs(i18n): translate all meta.json navigation files

* fix(i18n): translate Chinese separators in meta.en.json files

* translate

* translate

* i18n

---------

Co-authored-by: archer <archer@archerdeMac-mini.local>
Co-authored-by: archer <545436317@qq.com>
2026-02-26 22:14:30 +08:00

51 lines
1.1 KiB
Plaintext

---
title: Chat Input Guide
description: FastGPT chat input guide
---
![](/imgs/questionGuide.png)
## What is Custom Question Guidance?
You can preset questions for your app. As users type, the system dynamically searches these questions based on their input and displays them as suggestions, helping users ask questions faster.
You can configure the question list directly in FastGPT or provide a custom API endpoint.
## Custom Question List API
The endpoint must be accessible from the user's browser.
**Request:**
```bash
curl --location --request GET 'http://localhost:3000/api/core/chat/inputGuide/query?appId=663c75302caf8315b1c00194&searchKey=you'
```
Where `appId` is the application ID and `searchKey` is the search keyword (max 50 characters).
**Response**
```json
{
"code": 200,
"statusText": "",
"message": "",
"data": [
"it's you",
"who are you",
"you're great",
"hello there",
"who are you!",
"hello"
]
}
```
`data` is an array of matched questions. Return at most 5 results.
**Parameters:**
- appId - Application ID
- searchKey - Search keyword