|
| 1 | += DataStax Docs |
| 2 | +:page-layout: home |
| 3 | + |
| 4 | +[.[&>h2]:!hidden] |
| 5 | +== {empty} |
| 6 | + |
| 7 | +[subs="macros,attributes"] |
| 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"> |
| 11 | + |
| 12 | + <h2 class="discrete !m-0">Astra DB Serverless</h2> |
| 13 | + |
| 14 | + <p>Astra DB Serverless by DataStax provides the tools developers need to create robust AI applications, featuring strong APIs, real-time data processing, and easy integration with other systems.</p> |
| 15 | +
|
| 16 | + <div class="flex gap-6"> |
| 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 | + <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> |
| 20 | + </div> |
| 21 | + |
| 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"] |
| 24 | + https://astra.datastax.com[Try Astra^,role="btn btn-neutral btn-outlined"] |
| 25 | + </div> |
| 26 | +
|
| 27 | + </div> |
| 28 | + <div class="hidden lg:flex relative pl-10"> |
| 29 | +++++ |
| 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"] |
| 35 | +---- |
| 36 | +from astrapy import DataAPIClient |
| 37 | + |
| 38 | +# connect to a database |
| 39 | +database = DataAPIClient(*TOKEN*).get_database_by_api_endpoint(*URL*) |
| 40 | + |
| 41 | +# Ingest vectors into your collection |
| 42 | +collection = database.test_collection |
| 43 | +collection.insert_many(documents=*DOCUMENTS*) |
| 44 | + |
| 45 | +# Find the closest vectors |
| 46 | +collection.find(vector=[0.15, 0.1, 0.1, 0.35, 0.55]) |
| 47 | +---- |
| 48 | + |
| 49 | +[subs="macros,attributes"] |
| 50 | +++++ |
| 51 | + </div> |
| 52 | +</div> |
| 53 | +
|
| 54 | +<h3 class="discrete !my-12">Popular Products</h3> |
| 55 | +
|
| 56 | +<div class="grid gap-6 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3"> |
| 57 | + |
| 58 | + xref:astra-db-serverless::index.adoc[ |
| 59 | + <div class="w-full h-full absolute rounded bg-gradient-to-r from-[#6B1C96\] via-[#D90036\] to-[#FFCA0B\] blur opacity-0 group-hover:opacity-30 dark:group-hover:opacity-50 transition-opacity duration-300"></div> |
| 60 | + <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"> |
| 61 | + <div class="w-10 h-10 p-3 rounded bg-level1 flex items-center justify-center"><i class="icon material-icons">handyman</i></div> |
| 62 | + <div> |
| 63 | + <h4 class="discrete !m-0 !text-primary">Astra DB Serverless</h4> |
| 64 | + <p class="text-tertiary">Scale with cloud-native databases</p> |
| 65 | + </div> |
| 66 | + </div> |
| 67 | + ,role="!no-underline relative group"] |
| 68 | +
|
| 69 | + xref:ragstack::index.adoc[ |
| 70 | + <div class="w-full h-full absolute rounded bg-gradient-to-r from-[#6B1C96\] via-[#D90036\] to-[#FFCA0B\] blur opacity-0 group-hover:opacity-30 dark:group-hover:opacity-50 transition-opacity duration-300"></div> |
| 71 | + <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"> |
| 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 | + <div> |
| 74 | + <h4 class="discrete !m-0 !text-primary">RAGStack</h4> |
| 75 | + <p class="text-tertiary">Build AI apps faster</p> |
| 76 | + </div> |
| 77 | + </div> |
| 78 | + ,role="!no-underline relative group"] |
| 79 | +
|
| 80 | + xref:dse:getting-started:get-started-dse.adoc[ |
| 81 | + <div class="w-full h-full absolute rounded bg-gradient-to-r from-[#6B1C96\] via-[#D90036\] to-[#FFCA0B\] blur opacity-0 group-hover:opacity-30 dark:group-hover:opacity-50 transition-opacity duration-300"></div> |
| 82 | + <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"> |
| 83 | + <div class="w-10 h-10 p-3 rounded bg-level1 flex items-center justify-center"><i class="icon material-icons">business</i></div> |
| 84 | + <div> |
| 85 | + <h4 class="discrete !m-0 !text-primary">DSE</h4> |
| 86 | + <p class="text-tertiary">Enterprise scalability and performance</p> |
| 87 | + </div> |
| 88 | + </div> |
| 89 | + ,role="!no-underline relative group"] |
| 90 | +
|
| 91 | + xref:mission-control::index.adoc[ |
| 92 | + <div class="w-full h-full absolute rounded bg-gradient-to-r from-[#6B1C96\] via-[#D90036\] to-[#FFCA0B\] blur opacity-0 group-hover:opacity-30 dark:group-hover:opacity-50 transition-opacity duration-300"></div> |
| 93 | + <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"> |
| 94 | + <div class="w-10 h-10 p-3 rounded bg-level1 flex items-center justify-center"><i class="icon material-icons">space_dashboard</i></div> |
| 95 | + <div> |
| 96 | + <h4 class="discrete !m-0 !text-primary">Mission Control</h4> |
| 97 | + <p class="text-tertiary">Manage your data ecosystem</p> |
| 98 | + </div> |
| 99 | + </div> |
| 100 | + ,role="!no-underline relative group"] |
| 101 | +
|
| 102 | + xref:astra-streaming:getting-started:index.adoc[ |
| 103 | + <div class="w-full h-full absolute rounded bg-gradient-to-r from-[#6B1C96\] via-[#D90036\] to-[#FFCA0B\] blur opacity-0 group-hover:opacity-30 dark:group-hover:opacity-50 transition-opacity duration-300"></div> |
| 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 | + <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 | + <div> |
| 107 | + <h4 class="discrete !m-0 !text-primary">Streaming</h4> |
| 108 | + <p class="text-tertiary">Efficient data streaming</p> |
| 109 | + </div> |
| 110 | + </div> |
| 111 | + ,role="!no-underline relative group"] |
| 112 | +
|
| 113 | + xref:luna-cassandra::index.adoc[ |
| 114 | + <div class="w-full h-full absolute rounded bg-gradient-to-r from-[#6B1C96\] via-[#D90036\] to-[#FFCA0B\] blur opacity-0 group-hover:opacity-30 dark:group-hover:opacity-50 transition-opacity duration-300"></div> |
| 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 | + <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 | + <div> |
| 118 | + <h4 class="discrete !m-0 !text-primary">Luna</h4> |
| 119 | + <p class="text-tertiary">Expertise and support for DataStax products</p> |
| 120 | + </div> |
| 121 | + </div> |
| 122 | + ,role="!no-underline relative group"] |
| 123 | +
|
| 124 | +</div> |
| 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"> |
| 127 | +
|
| 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 | +
|
| 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"> |
| 132 | + <h4 class="discrete !m-0 !text-primary text-display pb-2"> |
| 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"> |
| 135 | + Astra DB |
| 136 | + </span> |
| 137 | + </h4> |
| 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> |
| 140 | + </div> |
| 141 | + ,role="!no-underline group flex flex-col"] |
| 142 | +
|
| 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"> |
| 145 | + <h4 class="discrete !m-0 !text-primary text-display pb-2"> |
| 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"> |
| 148 | + RAGStack |
| 149 | + </span> |
| 150 | + </h4> |
| 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> |
| 153 | + </div> |
| 154 | + ,role="!no-underline group flex flex-col"] |
| 155 | +
|
| 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"> |
| 158 | + <h4 class="discrete !m-0 !text-primary text-display pb-2"> |
| 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"> |
| 161 | + Astra DB |
| 162 | + </span> |
| 163 | + </h4> |
| 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> |
| 166 | + </div> |
| 167 | + ,role="!no-underline group flex flex-col"] |
| 168 | +
|
| 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 | +
|
| 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"> |
| 173 | + <h4 class="discrete !m-0 !text-primary text-display pb-2"> |
| 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"> |
| 176 | + Astra DB |
| 177 | + </span> |
| 178 | + </h4> |
| 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> |
| 181 | + </div> |
| 182 | + ,role="!no-underline group flex flex-col"] |
| 183 | +
|
| 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"> |
| 186 | + <h4 class="discrete !m-0 !text-primary text-display pb-2"> |
| 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"> |
| 189 | + Mission Control |
| 190 | + </span> |
| 191 | + </h4> |
| 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> |
| 194 | + </div> |
| 195 | + ,role="!no-underline group flex flex-col"] |
| 196 | +
|
| 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"> |
| 199 | + <h4 class="discrete !m-0 !text-primary text-display pb-2"> |
| 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"> |
| 202 | + Astra DB |
| 203 | + </span> |
| 204 | + </h4> |
| 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> |
| 207 | + </div> |
| 208 | + ,role="!no-underline group flex flex-col"] |
| 209 | +</div> |
| 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"> |
| 212 | + |
| 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"] |
| 221 | +
|
| 222 | + 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"] |
| 230 | +
|
| 231 | + 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"] |
| 239 | +
|
| 240 | + 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"] |
| 248 | +
|
| 249 | +</div> |
| 250 | +++++ |
0 commit comments