1
1
= {product}
2
2
:page-layout: landing
3
+ :product: Astra DB
3
4
4
- Efficiently store and query vector embeddings for better similarity search. If you're new, read our xref:get-started:concepts.adoc[introduction to vector databases].
5
+ {product} empowers developers to build cutting-edge AI applications with robust APIs, real-time data handling, and seamless ecosystem integrations. Read our xref:get-started:concepts.adoc[introduction to vector databases] if you're new to {product} .
5
6
6
7
[.[& >h2]:!hidden]
7
8
== {empty}
8
9
10
+ [subs="macros,attributes"]
9
11
++++
10
- <div class="flex rounded bg-level1 p-2 lg:p-3 gap-3 -mx-2 lg:-mx-3">
11
- <div class="flex flex-col lg:basis-1/2">
12
- ++++
13
-
14
- [discrete.flex.lg:flex-col.gap-3.!m-0]
15
- == Get Started
16
-
17
- Dive straight into Astra Vector with this concise guide tailored for developers.
18
- Learn the essentials of how to connect to a database, ingest vectors, and perform a similarity search.
19
-
20
- [.[&>p]:flex.[&>p]:gap-1]
21
- xref:get-started:quickstart.adoc[Quickstart,role="btn btn-primary btn-solid"] https://astra.datastax.com[Create Astra Account^,role="btn btn-neutral btn-outlined external"]
22
-
23
- ++++
24
- </div>
25
- <div class="hidden lg:block flex basis-1/2 relative">
12
+ <div class="flex rounded bg-level1 p-8 gap-6">
13
+ <div class="flex flex-col lg:basis-1/2 gap-4">
14
+
15
+ <h2 class="discrete !text-h1 !m-0">Get started</h2>
16
+
17
+ <p>Ready to work with {product}? Dive into the quickstart guide and learn how to create a database, connect, and load data in a matter of minutes.</p>
18
+
19
+ <div class="flex gap-4">
20
+ xref:get-started:quickstart.adoc[Quickstart,role="btn btn-primary btn-solid"]
21
+ https://astra.datastax.com[Create Astra Account^,role="btn btn-neutral btn-outlined external"]
22
+ </div>
23
+
24
+ </div>
25
+ <div class="hidden lg:block flex basis-1/2 relative">
26
26
++++
27
27
28
28
[source,python,role="nolang absolute bottom-1/2 translate-y-1/2 right-0 w-full inverse-theme [&_.source-toolbox]:hidden"]
@@ -33,61 +33,122 @@ from astrapy.db import AstraDB
33
33
db = AstraDB(token=TOKEN, api_endpoint=URL)
34
34
35
35
# Ingest vectors into your collection
36
- col = db.collection(collection_name="test")
37
- col .insert_many(documents=DOCUMENTS)
36
+ c = db.collection(collection_name="test")
37
+ c .insert_many(documents=DOCUMENTS)
38
38
39
39
# Find the closest vectors
40
- col .vector_find([0.15, 0.1, 0.1, 0.35, 0.55])
40
+ c .vector_find([0.15, 0.1, 0.1, 0.35, 0.55])
41
41
----
42
42
43
+ [subs="macros,attributes"]
43
44
++++
45
+ </div>
44
46
</div>
45
- </div>
46
- ++++
47
47
48
- [.[&>h2]:!text-h1]
49
- == Next steps
48
+ <h2 class="discrete !text-h1 !mt-12 !mb-6">Database basics</h2>
50
49
51
- ++++
52
- <div class="flex flex-col lg:flex-row gap-3 ">
53
- <div class="flex flex-col lg:basis-1/3">
54
- ++++
50
+ <div class="grid gap-6 lg:grid-cols-3">
51
+ <div class="flex flex-col gap-4 ">
52
+
53
+ <div class="rounded bg-level1 w-full h-[225px]"></div>
55
54
56
- [discrete.flex.items-center.lg:items-start.lg:flex-col.gap-1]
57
- == [.rounded.border.p-1.w-max.material-icons]#fact_check# Load your data
55
+ <h3 class="discrete !text-h2 !m-0">Create database</h3>
58
56
59
- Get your data and embeddings into a database.
57
+ <p>Learn the fundamental steps of setting up your {product} database.</p>
60
58
61
- [.landing-a]
62
- xref:data:load-data.adoc[Load data]
59
+ <div class="landing-a mt-auto">
60
+ xref:createdatabase.adoc[Create a database]
61
+ </div>
63
62
64
- ++++
65
- </ div>
66
- <div class="flex flex-col lg:basis-1/3">
67
- ++++
63
+ </div>
64
+ < div class="flex flex-col gap-4" >
65
+
66
+ <div class="rounded bg-level1 w-full h-[225px]"></div>
68
67
69
- [discrete.flex.items-center.lg:items-start.lg:flex-col.gap-1]
70
- == [.rounded.border.p-1.w-max.material-icons]#auto_stories# Explore your data
68
+ <h3 class="discrete !text-h2 !m-0">Load data</h3>
71
69
72
- Perform similarity searches and browse the results.
70
+ <p>Discover methods for loading data into {product}, ensuring it's structured and ready to use.</p>
73
71
74
- [.landing-a]
75
- link:{#}[Explore data]
72
+ <div class="landing-a">
73
+ xref:createdatabase.adoc[Load data]
74
+ </div>
76
75
77
- ++++
76
+ </div>
77
+ <div class="flex flex-col gap-4">
78
+
79
+ <div class="rounded bg-level1 w-full h-[225px]"></div>
80
+
81
+ <h3 class="discrete !text-h2 !m-0">Explore your data</h3>
82
+
83
+ <p>Explore your database, utilizing {product}'s features for querying and analyzing your data.</p>
84
+
85
+ <div class="landing-a">
86
+ xref:createdatabase.adoc[Explore your data]
87
+ </div>
88
+
89
+ </div>
78
90
</div>
79
- <div class="flex flex-col lg:basis-1/3">
80
- ++++
81
91
82
- [discrete.flex.items-center.lg:items-start.lg:flex-col.gap-1]
83
- == [.rounded.border.p-1.w-max.material-icons]#power# Connect to your database
92
+ <h2 class="discrete !text-h1 !mt-12 !mb-6">Expand your {product} knowledge</h2>
84
93
85
- Work with your data using our clients and APIs.
94
+ <div class="grid lg:grid-rows-2 lg:grid-cols-2 gap-6">
95
+
96
+ <div class="lg:row-span-2 flex flex-col items-start gap-4 rounded border p-4">
97
+
98
+ <div class="rounded bg-level1 w-full h-[325px]"></div>
86
99
87
- [.landing-a]
88
- xref:data:connect-to-database.adoc[Connect database]
100
+ <h3 class="discrete !text-h2 !m-0">Integrations</h3>
89
101
90
- ++++
91
- </div>
102
+ <p>Discover how {product} integrates with popular tools and platforms to enhance your workflow and data management.</p>
103
+
104
+ <div class="landing-a">
105
+ xref:createdatabase.adoc[Integrate LangChain with Astra DB]
106
+ </div>
107
+
108
+ <div class="landing-a">
109
+ xref:createdatabase.adoc[Integrate LlamaIndex with Astra DB]
110
+ </div>
111
+
112
+ <div class="landing-a">
113
+ xref:createdatabase.adoc[Integrate Vercel with Astra DB]
114
+ </div>
115
+
116
+ </div>
117
+
118
+ <div class="flex flex-col items-start gap-4 rounded border p-4">
119
+
120
+ <div class="rounded bg-level1 flex p-2"><i class="icon material-icons">auto_stories</i></div>
121
+
122
+ <h3 class="discrete !text-h2 !m-0">Tutorials</h3>
123
+
124
+ <p>Discover how {product} integrates with popular tools and platforms to enhance your workflow and data management.</p>
125
+
126
+ <div class="landing-a">
127
+ xref:createdatabase.adoc[Build a chatbot]
128
+ </div>
129
+
130
+ <div class="landing-a">
131
+ xref:createdatabase.adoc[Build a recommendation system with vector search]
132
+ </div>
133
+
134
+ </div>
135
+
136
+ <div class="flex flex-col items-start gap-4 rounded border p-4">
137
+
138
+ <div class="rounded bg-level1 flex p-2"><i class="icon material-icons">handyman</i></div>
139
+
140
+ <h3 class="discrete !text-h2 !m-0">API references</h3>
141
+
142
+ <p>Utilize our detailed API references for a deep understanding of {product}'s capabilities and how to effectively use them.</p>
143
+
144
+ <div class="landing-a">
145
+ xref:createdatabase.adoc[APIs for vector databases]
146
+ </div>
147
+
148
+ <div class="landing-a">
149
+ xref:createdatabase.adoc[APIs for non-vector databases]
150
+ </div>
151
+
152
+ </div>
92
153
</div>
93
154
++++
0 commit comments