6
6
7
7
[subs="macros,attributes"]
8
8
++++
9
- <div class="flex rounded bg-level1 gap-6 mt-6 py-6 px-2 -mx-2 lg:px-4 lg:-mx-4">
10
- <div class="flex flex-col gap-6">
9
+ <div class="flex rounded bg-level1 gap-6 mt-12 py-4 px-2 -mx-2 lg:px-4 lg:-mx-4 items-center ">
10
+ <div class="flex flex-col gap-6 max-w-2xl ">
11
11
12
12
<h2 class="discrete !m-0">Astra DB Serverless</h2>
13
13
16
16
<div class="flex gap-6">
17
17
<span class="text-secondary text-caption font-display flex gap-2 items-center"><i class="icon material-icons text-2xl">handyman</i> Vector Search</span>
18
18
<span class="text-secondary text-caption font-display flex gap-2 items-center"><i class="icon material-icons text-2xl">handyman</i> Modern APIs</span>
19
- <span class="text-secondary text-caption font-display flex gap-2 items-center"><i class="icon material-icons text-2xl">handyman</i> Enterprise Ready </span>
19
+ <span class="text-secondary text-caption font-display flex gap-2 items-center"><i class="icon material-icons text-2xl">handyman</i> Native Integrations </span>
20
20
</div>
21
21
22
22
<div class="flex gap-4">
23
- xref:astra-db-serverless:get-started:quickstart.adoc[Quickstart <i class="material-icons icon ml-1">arrow_forward</i>,role="btn btn-primary btn-solid"]
23
+ xref:astra-db-serverless:get-started:quickstart.adoc[Quickstart <i class="material-icons icon ml-1 group-hover:translate-x-1 transition-transform duration-300 ">arrow_forward</i>,role="btn btn-primary btn-solid group "]
24
24
https://astra.datastax.com[Try Astra^,role="btn btn-neutral btn-outlined"]
25
25
</div>
26
26
27
27
</div>
28
- <div class="hidden lg:flex relative pl-10 ">
28
+ <div class="hidden lg:flex relative -my-12 ml-6 ">
29
29
++++
30
30
31
- image::../img/vector-ui-dark.png["Vector Database UI", role="absolute -bottom-12 !m-0 rounded w-[31rem] h-[17.5rem] [& _img]:rounded drop-shadow-md for-dark no-zoom"]
32
- image::../img/vector-ui-light.png["Vector Database UI", role="absolute -bottom-12 !m-0 rounded w-[31rem] h-[17.5rem] [&_img]:rounded drop-shadow-md for-light no-zoom"]
33
-
34
- [source,python,subs="verbatim,quotes",role="nolang inverse-theme [&_ .source-toolbox]:hidden rounded w-[31rem] h-[17.5rem] relative !-mt-0 !-mb-12 -top-12 right-10"]
31
+ [source,python,subs="verbatim,quotes",role="nolang inverse-theme [&_.source-toolbox]:hidden rounded !m-0 [&_pre]:!py-6"]
35
32
----
33
+
36
34
from astrapy import DataAPIClient
37
35
38
36
# connect to a database
39
- database = DataAPIClient(*TOKEN* ).get_database_by_api_endpoint(*URL* )
37
+ database =
38
+ DataAPIClient(*TOKEN*).get_database_by_api_endpoint(*URL*)
40
39
41
40
# Ingest vectors into your collection
42
41
collection = database.test_collection
43
42
collection.insert_many(documents=*DOCUMENTS*)
44
43
45
44
# Find the closest vectors
46
45
collection.find(vector=[0.15, 0.1, 0.1, 0.35, 0.55])
46
+
47
47
----
48
48
49
49
[subs="macros,attributes"]
50
50
++++
51
51
</div>
52
52
</div>
53
53
54
- <h3 class="discrete !my -12">Popular Products</h3>
54
+ <h3 class="discrete !mt -12 !mb-10 ">Popular Products</h3>
55
55
56
56
<div class="grid gap-6 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
57
57
@@ -72,7 +72,7 @@ collection.find(vector=[0.15, 0.1, 0.1, 0.35, 0.55])
72
72
<div class="w-10 h-10 p-3 rounded bg-level1 flex items-center justify-center"><i class="icon material-icons">timer</i></div>
73
73
<div>
74
74
<h4 class="discrete !m-0 !text-primary">RAGStack</h4>
75
- <p class="text-tertiary">Build AI apps faster </p>
75
+ <p class="text-tertiary">Enterprise RAG </p>
76
76
</div>
77
77
</div>
78
78
,role="!no-underline relative group"]
@@ -104,7 +104,7 @@ collection.find(vector=[0.15, 0.1, 0.1, 0.35, 0.55])
104
104
<div class="relative h-full p-2 md:p-4 text-primary rounded border flex items-center gap-3 bg-body transition-colors group-hover:border-[var(--ds-primary-outlined-hover-border)\] duration-300">
105
105
<div class="w-10 h-10 p-3 rounded bg-level1 flex items-center justify-center"><i class="icon material-icons">air</i></div>
106
106
<div>
107
- <h4 class="discrete !m-0 !text-primary">Streaming</h4>
107
+ <h4 class="discrete !m-0 !text-primary">Astra Streaming</h4>
108
108
<p class="text-tertiary">Efficient data streaming</p>
109
109
</div>
110
110
</div>
@@ -115,136 +115,124 @@ collection.find(vector=[0.15, 0.1, 0.1, 0.35, 0.55])
115
115
<div class="relative h-full p-2 md:p-4 text-primary rounded border flex items-center gap-3 bg-body transition-colors group-hover:border-[var(--ds-primary-outlined-hover-border)\] duration-300">
116
116
<div class="w-10 h-10 p-3 rounded bg-level1 flex items-center justify-center"><i class="icon material-icons">nights_stay</i></div>
117
117
<div>
118
- <h4 class="discrete !m-0 !text-primary">Luna</h4>
118
+ <h4 class="discrete !m-0 !text-primary">Luna Support </h4>
119
119
<p class="text-tertiary">Expertise and support for DataStax products</p>
120
120
</div>
121
121
</div>
122
122
,role="!no-underline relative group"]
123
123
124
124
</div>
125
125
126
- <div class="mt-12 grid gap-12 md:grid-cols-2 md:grid-rows-[min-content_repeat(3,1fr)] md:grid-flow-col">
126
+ <div class="mt-12 grid gap-10 md:grid-cols-2 md:grid-rows-[min-content_repeat(3,1fr)] md:grid-flow-col">
127
127
128
128
<h3 class="pb-4 border-b !m-0">Latest Additions<i class="material-icons icon text-2xl mr-2">new_label</i></h3>
129
129
130
130
xref:astra-db-serverless:databases:load-data.adoc[
131
- <div class="py-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
131
+ <div class="py-4 -my-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
132
132
<h4 class="discrete !m-0 !text-primary text-display pb-2">
133
133
Loading data into Astra DB databases
134
- <span class="ml-1 py-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
134
+ <span class="ml-1 py-1 -my-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
135
135
Astra DB
136
136
</span>
137
137
</h4>
138
138
<p class="text-tertiary">++Use the Astra DB Data Loader to load data in your database from a variety of sources, including CSV files, sample datasets, and Amazon DynamoDB.++</p>
139
- <p class="!text-link !mt-auto ">Read Loading data into Astra DB databases <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
139
+ <p class="!text-link">Read Loading data into Astra DB databases <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
140
140
</div>
141
141
,role="!no-underline group flex flex-col"]
142
142
143
143
xref:ragstack:intro-to-rag:evaluation.adoc[
144
- <div class="py-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
144
+ <div class="py-4 -my-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
145
145
<h4 class="discrete !m-0 !text-primary text-display pb-2">
146
146
Optimizing Query Performance
147
- <span class="ml-1 py-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
147
+ <span class="ml-1 py-1 -my-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
148
148
RAGStack
149
149
</span>
150
150
</h4>
151
151
<p class="text-tertiary">++Improve the efficiency of your queries on AI-ready cloud databases with best practices for indexing and query tuning.++</p>
152
- <p class="!text-link !mt-auto ">Read Optimizing Query Performance <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
152
+ <p class="!text-link">Read Optimizing Query Performance <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
153
153
</div>
154
154
,role="!no-underline group flex flex-col"]
155
155
156
156
xref:astra-db-serverless::index.adoc[
157
- <div class="py-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
157
+ <div class="py-4 -my-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
158
158
<h4 class="discrete !m-0 !text-primary text-display pb-2">
159
159
Securing Database Connections
160
- <span class="ml-1 py-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
160
+ <span class="ml-1 py-1 -my-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
161
161
Astra DB
162
162
</span>
163
163
</h4>
164
164
<p class="text-tertiary">++Learn how to secure connections to your AI-ready cloud database using SSL encryption and access control methods.++</p>
165
- <p class="!text-link !mt-auto ">Read Securing Database Connections <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
165
+ <p class="!text-link">Read Securing Database Connections <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
166
166
</div>
167
167
,role="!no-underline group flex flex-col"]
168
168
169
169
<h3 class="pb-4 border-b !m-0">Working with AI/ML <i class="material-icons icon text-2xl mr-2">smart_toy</i></h3>
170
170
171
171
xref:astra-db-serverless::index.adoc[
172
- <div class="py-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
172
+ <div class="py-4 -my-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
173
173
<h4 class="discrete !m-0 !text-primary text-display pb-2">
174
174
Automating Backups and Recovery
175
- <span class="ml-1 py-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
175
+ <span class="ml-1 py-1 -my-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
176
176
Astra DB
177
177
</span>
178
178
</h4>
179
179
<p class="text-tertiary">++Set up automated backups for your cloud database and learn how to quickly recover your data in case of loss or corruption.++</p>
180
- <p class="!text-link !mt-auto ">Read Automating Backups and Recovery <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
180
+ <p class="!text-link">Read Automating Backups and Recovery <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
181
181
</div>
182
182
,role="!no-underline group flex flex-col"]
183
183
184
184
xref:astra-db-serverless::index.adoc[
185
- <div class="py-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
185
+ <div class="py-4 -my-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
186
186
<h4 class="discrete !m-0 !text-primary text-display pb-2">
187
187
Monitoring and Alerts
188
- <span class="ml-1 py-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
188
+ <span class="ml-1 py-1 -my-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
189
189
Mission Control
190
190
</span>
191
191
</h4>
192
192
<p class="text-tertiary">++Monitor the health and performance of your cloud database with real-time analytics and set up alerts for potential issues.++</p>
193
- <p class="!text-link !mt-auto ">Read Monitoring and Alerts <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
193
+ <p class="!text-link">Read Monitoring and Alerts <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
194
194
</div>
195
195
,role="!no-underline group flex flex-col"]
196
196
197
197
xref:astra-db-serverless::index.adoc[
198
- <div class="py-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
198
+ <div class="py-4 -my-4 px-2 -mx-2 lg:px-4 lg:-mx-4 rounded flex flex-col grow gap-3 transition-colors group-hover:bg-level1">
199
199
<h4 class="discrete !m-0 !text-primary text-display pb-2">
200
200
Scaling Your Database
201
- <span class="ml-1 py-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
201
+ <span class="ml-1 py-1 -my-1 px-2 bg-level1 text-nowrap rounded color-primary text-caption font-sans border border-transparent group-hover:border-[var(--ds-divider)\] transition-colors">
202
202
Astra DB
203
203
</span>
204
204
</h4>
205
205
<p class="text-tertiary">++Scale your AI-ready cloud database vertically or horizontally to meet changing workload demands and optimize performance.++</p>
206
- <p class="!text-link !mt-auto ">Read Scaling Your Database <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
206
+ <p class="!text-link">Read Scaling Your Database <i class="material-icons icon group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i></p>
207
207
</div>
208
208
,role="!no-underline group flex flex-col"]
209
209
</div>
210
210
211
- <div class="p-8 rounded grid gap-10 grid-cols-1 md:grid-cols-2 lg:grid-cols-4 bg-level1 mt-12 ">
211
+ <div class="mt-12 grid gap-6 grid-cols-1 md:grid-cols-2 lg:grid-cols-4">
212
212
213
213
https://www.datastax.com/[
214
- <h4 class="discrete !m-0 !text-primary text-display pb-2">
215
- <i class="material-icons icon text-2xl mr-2">home</i>
216
- DataStax Home
217
- </h4>
218
- <span class="!text-link mr-1 break-words">Go to the DataStax website</span>
219
- <i class="material-icons icon absolute group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i>
220
- ,role="!no-underline group after:hidden"]
214
+ <i class="material-icons icon text-2xl text-[var(--ds-text-placeholder)\] group-hover:color-primary transition-colors duration-300">home</i>
215
+ <h4 class="discrete !m-0 !text-primary text-display">DataStax Home</h4>
216
+ <p class="!text-link">Go to the DataStax website</p>
217
+ ^,role="!no-underline group after:hidden rounded bg-level1 p-4 flex flex-col gap-1 hover:bg-[var(--ds-primary-soft-bg)\] transition-colors duration-300"]
221
218
222
219
xref:glossary::index.adoc[
223
- <h4 class="discrete !m-0 !text-primary text-display pb-2">
224
- <i class="material-icons icon text-2xl mr-2">menu_book</i>
225
- Glossary
226
- </h4>
227
- <span class="!text-link mr-1 break-words">Learn terminology used in DataStax products</span>
228
- <i class="material-icons icon absolute group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i>
229
- ,role="!no-underline group after:hidden"]
220
+ <i class="material-icons icon text-2xl text-[var(--ds-text-placeholder)\] group-hover:color-primary transition-colors duration-300">menu_book</i>
221
+ <h4 class="discrete !m-0 !text-primary text-display">Glossary</h4>
222
+ <p class="!text-link">Review common terms</p>
223
+ ,role="!no-underline group after:hidden rounded bg-level1 p-4 flex flex-col gap-1 hover:bg-[var(--ds-primary-soft-bg)\] transition-colors duration-300"]
230
224
231
225
https://support.datastax.com/s/[
232
- <h4 class="discrete !m-0 !text-primary text-display pb-2">
233
- <i class="material-icons icon text-2xl mr-2">support</i>
234
- Support
235
- </h4>
236
- <span class="!text-link mr-1 break-words">Access support resources</span>
237
- <i class="material-icons icon absolute group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i>
238
- ,role="!no-underline group after:hidden"]
226
+ <i class="material-icons icon text-2xl text-[var(--ds-text-placeholder)\] group-hover:color-primary transition-colors duration-300">support</i>
227
+ <h4 class="discrete !m-0 !text-primary text-display">Support</h4>
228
+ <p class="!text-link">Access support resources</p>
229
+ ^,role="!no-underline group after:hidden rounded bg-level1 p-4 flex flex-col gap-1 hover:bg-[var(--ds-primary-soft-bg)\] transition-colors duration-300"]
239
230
240
231
https://downloads.datastax.com/#enterprise[
241
- <h4 class="discrete !m-0 !text-primary text-display pb-2">
242
- <i class="material-icons icon text-2xl mr-2">downloading</i>
243
- Downloads
244
- </h4>
245
- <span class="!text-link mr-1 break-words">Download installation files and drivers</span>
246
- <i class="material-icons icon absolute group-hover:translate-x-1 transition-transform duration-300">arrow_forward</i>
247
- ,role="!no-underline group after:hidden"]
232
+ <i class="material-icons icon text-2xl text-[var(--ds-text-placeholder)\] group-hover:color-primary transition-colors duration-300">downloading</i>
233
+ <h4 class="discrete !m-0 !text-primary text-display">Downloads</h4>
234
+ <p class="!text-link">Install files and drivers</p>
235
+ ^,role="!no-underline group after:hidden rounded bg-level1 p-4 flex flex-col gap-1 hover:bg-[var(--ds-primary-soft-bg)\] transition-colors duration-300"]
248
236
249
237
</div>
250
238
++++
0 commit comments