You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update references from TiDB Cloud Serverless to TiDB Cloud Starter
- Changed all instances of "TiDB Cloud Serverless" to "TiDB Cloud Starter" across various documentation files, including demos, guides, and examples.
- Ensured consistency in terminology to reflect the updated branding and offerings of TiDB Cloud.
Copy file name to clipboardExpand all lines: demos.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
title: "Demo Gallery"
3
3
description: |
4
4
Explore hands-on demos showcasing how TiDB empowers AI applications.<br>
5
-
Get started quickly with <a href='https://tidbcloud.com/?utm_source=github&utm_medium=referral&utm_campaign=demo_gallery' target='_blank' rel='noopener noreferrer' class='gallery-cta-link'><b>TiDB Cloud Serverless</b></a> to build your own AI-powered solutions.
5
+
Get started quickly with <a href='https://tidbcloud.com/?utm_source=github&utm_medium=referral&utm_campaign=demo_gallery' target='_blank' rel='noopener noreferrer' class='gallery-cta-link'><b>TiDB Cloud Starter</b></a> to build your own AI-powered solutions.
6
6
7
7
meta:
8
-
description: "Explore hands-on demos showcasing how TiDB empowers AI applications. Get started quickly with TiDB Cloud Serverless to build your own AI-powered solutions."
8
+
description: "Explore hands-on demos showcasing how TiDB empowers AI applications. Get started quickly with TiDB Cloud Starter to build your own AI-powered solutions."
9
9
10
10
categories:
11
11
- id: "featured"
@@ -119,9 +119,9 @@ demos:
119
119
# CTA section configuration
120
120
cta:
121
121
title: "Ready to build your AI application?"
122
-
description: "Start your AI journey with TiDB Cloud Serverless. Follow our quickstart guide to build your first AI-powered application in minutes, or explore specific examples for your use case."
122
+
description: "Start your AI journey with TiDB Cloud Starter. Follow our quickstart guide to build your first AI-powered application in minutes, or explore specific examples for your use case."
Copy file name to clipboardExpand all lines: src/ai/concepts/vector-search.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Vector search offers a powerful solution for semantic similarity searches across
10
10
11
11
!!! note
12
12
13
-
The vector search feature is only available for TiDB Self-Managed clusters and [TiDB Cloud Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-cloud-serverless) clusters.
13
+
The vector search feature is only available for TiDB Self-Managed clusters and [TiDB Cloud Starter](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-cloud-starter) clusters.
Copy file name to clipboardExpand all lines: src/ai/examples/index.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Demo Gallery
3
-
description: Explore hands-on demos showcasing how TiDB empowers AI applications. Get started quickly with TiDB Cloud Serverless to build your own AI-powered solutions.
3
+
description: Explore hands-on demos showcasing how TiDB empowers AI applications. Get started quickly with TiDB Cloud Starter to build your own AI-powered solutions.
4
4
hide:
5
5
- navigation
6
6
- toc
@@ -64,7 +64,7 @@ html {
64
64
.gallery-cta-link {
65
65
position: relative;
66
66
text-decoration: none;
67
-
transition: all0.2sease-in-out;
67
+
transition: all0.3sease-in-out;
68
68
}
69
69
70
70
.gallery-cta-link:hover {
@@ -345,7 +345,7 @@ html {
345
345
<h1 class="gallery-title">Demo Gallery</h1>
346
346
<p class="gallery-description">
347
347
Explore hands-on demos showcasing how TiDB empowers AI applications.<br>
348
-
Get started quickly with <ahref='https://tidbcloud.com/?utm_source=github&utm_medium=referral&utm_campaign=demo_gallery'target='_blank'rel='noopener noreferrer'class='gallery-cta-link'><b>TiDB Cloud Serverless</b></a> to build your own AI-powered solutions.
348
+
Get started quickly with <ahref='https://tidbcloud.com/?utm_source=github&utm_medium=referral&utm_campaign=demo_gallery'target='_blank'rel='noopener noreferrer'class='gallery-cta-link'><b>TiDB Cloud Starter</b></a> to build your own AI-powered solutions.
349
349
350
350
</p>
351
351
</div>
@@ -389,8 +389,8 @@ Get started quickly with <a href='https://tidbcloud.com/?utm_source=github&utm_m
@@ -518,11 +518,11 @@ Get started quickly with <a href='https://tidbcloud.com/?utm_source=github&utm_m
518
518
<div class="gallery-cta">
519
519
<h3 class="cta-title">Ready to build your AI application?</h3>
520
520
<p class="cta-description">
521
-
Start your AI journey with TiDB Cloud Serverless. Follow our quickstart guide to build your first AI-powered application in minutes, or explore specific examples for your use case.
521
+
Start your AI journey with TiDB Cloud Starter. Follow our quickstart guide to build your first AI-powered application in minutes, or explore specific examples for your use case.
**Step3**: Set up environment to connect to storage
46
+
**Step 3**: Set up environment variables
36
47
37
-
You can find the connection string in the [TiDB Cloud console](https://tidbcloud.com/).
38
-
39
-
If you are using a local TiDB server, you can set up the environment variable like this:
48
+
Go to [TiDB Cloud console](https://tidbcloud.com/clusters) and get the connection parameters, then set up the environment variable like this:
40
49
41
50
```bash
42
51
cat > .env <<EOF
43
-
TIDB_HOST=localhost
52
+
TIDB_HOST={gateway-region}.prod.aws.tidbcloud.com
44
53
TIDB_PORT=4000
45
-
TIDB_USERNAME=root
46
-
TIDB_PASSWORD=
54
+
TIDB_USERNAME={prefix}.root
55
+
TIDB_PASSWORD={password}
47
56
TIDB_DATABASE=test
48
57
49
-
OPENAI_API_KEY=your_openai_api_key
58
+
OPENAI_API_KEY={your-openai-api-key}
50
59
EOF
51
60
```
52
61
53
-
**Step4**: Run the app
62
+
**Step 4**: Run the application
63
+
64
+
Choose one of the following options:
54
65
55
-
Run the following command to start the app, feel free to talk with the AI assistant and tell him/her any information about you.
66
+
**Option 1**: Launch Web Application:
67
+
68
+
```bash
69
+
streamlit run app.py
70
+
```
71
+
72
+
Visit `http://localhost:8501` in your browser and follow the instructions in the [Interact with memory in Web Application](https://github.com/pingcap/pytidb/tree/main/examples/memory/#interact-with-memory-in-web-application) section to start interacting with the memory-enabled AI assistant.
73
+
74
+
**Option 2**: Run Command Line Application:
56
75
57
76
```bash
58
77
python main.py
59
78
```
60
79
80
+
Follow the instructions in the [Interact with memory in Command Line Application](https://github.com/pingcap/pytidb/tree/main/examples/memory/#interact-with-memory-in-command-line-application) section to start interacting with the memory-enabled AI assistant.
81
+
82
+
## Interact with memory in Web Application
83
+
84
+
In the web application, you can interact with the AI assistant, the user interface includes:
85
+
86
+
-**Sidebar**: User settings and chat list.
87
+
-**Main chat area**: Chat interface with the AI assistant.
0 commit comments