-
Notifications
You must be signed in to change notification settings - Fork 688
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
Conversation
Welcome @nizheming! |
@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. |
This reverts commit fc29935.
tidb-cloud/use-chat2query-api.md
Outdated
> | ||
> 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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following code example is used to explore `sp500insight` database: | |
The following code example is used to explore the `sp500insight` database: |
tidb-cloud/use-chat2query-api.md
Outdated
} | ||
``` | ||
|
||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
tidb-cloud/use-chat2query-api.md
Outdated
} | ||
``` | ||
|
||
`DataSummaryObject` represents AI explored infomation of the given database, here is the structure of `DataSummaryObject`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`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`: |
tidb-cloud/use-chat2query-api.md
Outdated
} | ||
``` | ||
|
||
**Update data summary result using data summary id when you have an better result** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**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.** |
tidb-cloud/use-chat2query-api.md
Outdated
} | ||
``` | ||
|
||
when the `status` is `done`, the job had finished and description of table and columns had been updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
Co-authored-by: xixirangrang <[email protected]>
Co-authored-by: xixirangrang <[email protected]>
Co-authored-by: xixirangrang <[email protected]>
Co-authored-by: xixirangrang <[email protected]>
Co-authored-by: xixirangrang <[email protected]>
@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. |
Co-authored-by: xixirangrang <[email protected]>
/approve |
[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 |
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.
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?