Skip to content

Commit ee028d5

Browse files
ziyuhehezhe_mstr
andauthored
Update (#63)
Co-authored-by: zhe_mstr <[email protected]>
1 parent 60749f0 commit ee028d5

File tree

7 files changed

+80
-2
lines changed

7 files changed

+80
-2
lines changed

docs/common-workflows/analytics/question-with-bot-routing-api/ask-suggested-question-to-bots-in-the-application.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Obtain the authorization token needed to execute the request using [POST /api/au
1616

1717
## Ask suggested questions with bot routing
1818

19-
Endpoint: [POST /api/question/suggestions](https://demo.microstrategy.com/MicroStrategyLibrary/api-docs/index.html#/Question%20Suggestions/createSuggestions_1)
19+
Endpoint: [POST /api/questions/suggestions](https://demo.microstrategy.com/MicroStrategyLibrary/api-docs/index.html#/Question%20Suggestions/createSuggestions_1)
2020

2121
Sample Request Header:
2222

@@ -45,7 +45,7 @@ Sample Request Body:
4545
Sample Curl:
4646

4747
```bash
48-
curl 'https://demo.microstrategy.com/MicroStrategyLibrary/api/question/suggestions' \
48+
curl 'https://demo.microstrategy.com/MicroStrategyLibrary/api/questions/suggestions' \
4949
-X 'POST' \
5050
--header 'X-MSTR-AuthToken: t40ltbk411923ipk85r8r0tace' \
5151
--header 'X-MSTR-ProjectID: FCC1924411EAABC39C6C0080EFA54501' \

docs/common-workflows/analytics/use-bot-api/ask-bot-instance-question.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ description: This workflow sample demonstrates how to ask the bot instance a que
66

77
<Available since="MicroStrategy ONE (March 2024)" />
88

9+
:::caution
10+
11+
This API is planned for future retirement. Therefore, MicroStrategy recommends that you transition to the [Ask Question to Bots in the Application API](../question-with-bot-routing-api/ask-question-to-bots-in-the-application) for bot-related workflows.
12+
13+
Using Ask Question to Bots in the Application API:
14+
15+
- Bot instances are managed automatically, eliminating the need for manual instance management.
16+
- The API automatically selects the most appropriate bot to answer a question, or you can specify a specific bot by including its ID in the query parameters.
17+
- It offers ongoing support and updates, ensuring compatibility with new bot-related features.
18+
19+
:::
20+
921
This workflow sample demonstrates how to ask the bot instance a question.
1022

1123
:::info

docs/common-workflows/analytics/use-bot-api/ask-bot-instance-suggested-question.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ description: This workflow sample demonstrates how to ask a bot instance for sug
66

77
<Available since="MicroStrategy ONE (March 2024)" />
88

9+
:::caution
10+
11+
This API is planned for future retirement. Therefore, MicroStrategy recommends that you transition to the [Ask Suggested Question to Bots in the Application API](../question-with-bot-routing-api/ask-suggested-question-to-bots-in-the-application.md) for retrieving suggested questions from bots.
12+
13+
Using Ask Suggested Question to Bots in the Application API:
14+
15+
- You do not need to manually create or manage bot instances. The API automatically creates and manages bot instances.
16+
- The API automatically selects the most appropriate bot based on your previous questions to suggest relevant questions.
17+
- You can use query parameters to specify a bot to receive suggested questions.
18+
19+
:::
20+
921
This workflow sample demonstrates how to ask a bot instance for suggested questions.
1022

1123
:::info

docs/common-workflows/analytics/use-bot-api/create-a-bot-instance.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ description: This workflow sample demonstrates how to create a bot instance
66

77
<Available since="MicroStrategy ONE (March 2024)" />
88

9+
:::caution
10+
11+
This API is planned for future retirement. Therefore, MicroStrategy recommends that you transition to the [Question with Bot Routing API](../question-with-bot-routing-api/question-api.md) for bot-related workflows.
12+
13+
Using the Question with Bot Routing API:
14+
15+
- You do not need to manually create or manage bot instances. The API automatically creates and manages bot instances.
16+
- It offers ongoing support and updates, ensuring compatibility with new bot-related features.
17+
- It provides enhanced functionality, such as intelligent bot selection and flexible bot routing.
18+
19+
:::
20+
921
This workflow sample demonstrates how to create a bot instance.
1022

1123
:::info

docs/common-workflows/analytics/use-bot-api/delete-a-bot-instance.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ description: This workflow sample demonstrates how to delete a bot instance
66

77
<Available since="MicroStrategy ONE (March 2024)" />
88

9+
:::caution
10+
11+
This API is planned for future retirement. Therefore, MicroStrategy recommends that you transition to the [Question with Bot Routing API](../question-with-bot-routing-api/question-api.md) for bot-related workflows.
12+
13+
Using the Question with Bot Routing API:
14+
15+
- You do not need to manually create or manage bot instances. The API automatically creates and manages bot instances.
16+
- It offers ongoing support and updates, ensuring compatibility with new bot-related features.
17+
- It provides enhanced functionality, such as intelligent bot selection and flexible bot routing.
18+
19+
:::
20+
21+
This workflow sample demonstrates how to create a bot instance.
22+
23+
:::info
24+
925
This workflow sample demonstrates how to delete a bot instance.
1026

1127
:::info

docs/common-workflows/analytics/use-bot-api/get-a-bot-question.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ description: This workflow sample demonstrates how to get a chat bot's question.
66

77
<Available since="MicroStrategy ONE (March 2024)" />
88

9+
:::caution
10+
11+
This API is planned for future retirement. Therefore, MicroStrategy recommends that you transition to the [Get Question from Bots in the Application API](../question-with-bot-routing-api/get-question-from-bots-in-the-application.md) for retrieving bot responses.
12+
13+
The Get Question from Bots in the Application API can be used in combination with the [Ask Question to Bots in the Application API](../question-with-bot-routing-api/ask-question-to-bots-in-the-application.md) to ask questions and retrieve answers from bots. This streamlined workflow removes manual bot instance management and provides flexible bot routing.
14+
15+
:::
16+
917
This workflow sample demonstrates how to get a chat bot's question.
1018

1119
:::info

docs/common-workflows/analytics/use-bot-api/use-bot-api.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ description: This page contains a summary of REST APIs for the "bots" endpoint.
55

66
<Available since="MicroStrategy ONE (March 2024)" />
77

8+
:::caution
9+
10+
The following Bot APIs are planned for future retirement. Therefore, MicroStrategy recommends that you use the [Question with Bot Routing APIs](../question-with-bot-routing-api/question-api.md) instead:
11+
12+
- [Create a bot instance.](./create-a-bot-instance.md)
13+
- [Ask for suggested questions](./ask-bot-instance-suggested-question.md)
14+
- [Ask a bot question](./ask-bot-instance-question.md)
15+
- [Get a bot question](./get-a-bot-question.md)
16+
- [Delete a bot instance](./delete-a-bot-instance.md)
17+
18+
Reason:
19+
20+
- **Easy to use**: The [Question with Bot Routing APIs](../question-with-bot-routing-api/question-api.md) automatically manage bot instances, eliminating the need for users to manually create and manage bot instances through separate API calls.
21+
- **More powerful**: The [Question with Bot Routing APIs](../question-with-bot-routing-api/question-api.md) provide intelligent bot routing by automatically selecting the most appropriate bot to handle a question. If you need to ask a specific bot, you can specify the bot ID as a query parameter. For more details, see [Ask a Question to Bots in the Application](../question-with-bot-routing-api/ask-question-to-bots-in-the-application.md).
22+
- **Ongoing support and updates**: The [Question with Bot Routing APIs](../question-with-bot-routing-api/question-api.md) will continue to receive updates and support for future bot-related features. In contrast, the Bot APIs will not receive updates or new features and may eventually lead to exceptions as maintenance ends.
23+
24+
:::
25+
826
For users interested in creating a custom chatbot experience utilizing the capabilities of MicroStrategy AI, a suite of bot-related APIs is available. These APIs are designed to facilitate seamless integration of MicroStrategy AI into nearly any application. By leveraging these tools, users can enhance their applications with advanced AI features quickly and efficiently. For further details on how to use these APIs, please refer to the following sections of this manual.
927

1028
- [Get a bot's configuration](./get-bot-configuration.md)

0 commit comments

Comments
 (0)