Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud: update use-chat2query-api.md release chat2query v2 #15319

Merged
merged 20 commits into from
Nov 22, 2023

Conversation

nizheming
Copy link

@nizheming nizheming commented Nov 10, 2023

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v7.5 (TiDB 7.5 versions)
  • v7.4 (TiDB 7.4 versions)
  • v7.3 (TiDB 7.3 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)
  • v5.3 (TiDB 5.3 versions)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@CLAassistant
Copy link

CLAassistant commented Nov 10, 2023

CLA assistant check
All committers have signed the CLA.

Copy link

ti-chi-bot bot commented Nov 10, 2023

Welcome @nizheming!

It looks like this is your first PR to pingcap/docs 🎉.

I'm the bot to help you request reviewers, add labels and more, See available commands.

We want to make sure your contribution gets all the attention it needs!



Thank you, and welcome to pingcap/docs. 😃

@ti-chi-bot ti-chi-bot bot added contribution This PR is from a community contributor. first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. missing-translation-status This PR does not have translation status info. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 10, 2023
@qiancai qiancai added translation/no-need No need to translate this PR. area/tidb-cloud This PR relates to the area of TiDB Cloud. labels Nov 10, 2023
@ti-chi-bot ti-chi-bot bot removed the missing-translation-status This PR does not have translation status info. label Nov 10, 2023
@qiancai qiancai self-requested a review November 10, 2023 02:17
@qiancai qiancai changed the title update use-chat2query-api.md release chat2query v2 cloud: update use-chat2query-api.md release chat2query v2 Nov 10, 2023
@qiancai qiancai added the for-cloud-release This PR is related to TiDB Cloud release. label Nov 10, 2023
Copy link

ti-chi-bot bot commented Nov 10, 2023

@jiajunhuang: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

tidb-cloud/use-chat2query-api.md Outdated Show resolved Hide resolved
tidb-cloud/use-chat2query-api.md Outdated Show resolved Hide resolved
tidb-cloud/use-chat2query-api.md Outdated Show resolved Hide resolved
tidb-cloud/use-chat2query-api.md Outdated Show resolved Hide resolved
@qiancai qiancai self-assigned this Nov 15, 2023
>
> Each Chat2Query Data App has a rate limit of 100 requests per day. If you exceed the rate limit, the API returns a `429` error. For more quota, you can [submit a request](https://support.pingcap.com/hc/en-us/requests/new?ticket_form_id=7800003722519) to our support team.

The following code example is used to explore `sp500insight` database:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The following code example is used to explore `sp500insight` database:
The following code example is used to explore the `sp500insight` database:

}
```

The api is an async api, we should poll the job results in get job api by each 5 seconds until the job been successed.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The api is an async api, we should poll the job results in get job api by each 5 seconds until the job been successed.
The API is asynchronous. You can pull the job results in the GET job API every 5 seconds until the job succeeds.

}
```

`DataSummaryObject` represents AI explored infomation of the given database, here is the structure of `DataSummaryObject`:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`DataSummaryObject` represents AI explored infomation of the given database, here is the structure of `DataSummaryObject`:
`DataSummaryObject` represents AI explored infomation of the given database. The following is a structure example of `DataSummaryObject`:

}
```

**Update data summary result using data summary id when you have an better result**
Copy link
Collaborator

@hfxsd hfxsd Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Update data summary result using data summary id when you have an better result**
**Update data summary result using the data summary ID when you have a better result.**

}
```

when the `status` is `done`, the job had finished and description of table and columns had been updated.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
when the `status` is `done`, the job had finished and description of table and columns had been updated.
When the `status` is `done`, the job is finished and the descriptions of the table and columns are updated.

qiancai and others added 2 commits November 20, 2023 14:28
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Nov 21, 2023
Copy link

ti-chi-bot bot commented Nov 21, 2023

@jiajunhuang: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Nov 22, 2023
Copy link

ti-chi-bot bot commented Nov 22, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-11-21 04:06:37.262793784 +0000 UTC m=+290825.928019978: ☑️ agreed by hfxsd.
  • 2023-11-22 00:37:31.1846019 +0000 UTC m=+364679.849828095: ☑️ agreed by qiancai.

@qiancai
Copy link
Collaborator

qiancai commented Nov 22, 2023

/approve

Copy link

ti-chi-bot bot commented Nov 22, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Nov 22, 2023
@ti-chi-bot ti-chi-bot bot merged commit 90401c2 into pingcap:release-7.1 Nov 22, 2023
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/tidb-cloud This PR relates to the area of TiDB Cloud. contribution This PR is from a community contributor. first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. for-cloud-release This PR is related to TiDB Cloud release. lgtm size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. translation/no-need No need to translate this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants