Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 30 additions & 26 deletions docs/config/_default/menus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,24 @@
excludeVersion = true

[[main]]
name = "Integrations"
name = "AI"
weight = 3
url = "/preview/ai/"
[main.params]
excludeVersion = true
description = "Build AI applications with YugabyteDB - RAG, vector search, LLMs"
imageUrl = "/icons/ai.svg"

[[main]]
name = "Integrations"
weight = 4
url = "/preview/integrations/"
[main.params]
excludeVersion = true

[[main]]
name = "API"
weight = 4
weight = 5
identifier = "yugabyte-apis"
url = "/api/"

Expand Down Expand Up @@ -736,30 +745,6 @@
classes = "separator"
showSection = true

[[preview_develop]]
name = "RAG"
weight = 10
parent = "tutorials-ai"
identifier = "tutorials-ai-rag"
[preview_develop.params]
showSection = true

[[preview_develop]]
name = "Vector basics"
weight = 20
parent = "tutorials-ai"
identifier = "tutorials-ai-vector"
[preview_develop.params]
showSection = true

[[preview_develop]]
name = "Agentic"
weight = 30
parent = "tutorials-ai"
identifier = "tutorials-ai-agentic"
[preview_develop.params]
showSection = true

[[preview_develop]]
name = "Cloud"
weight = 40
Expand All @@ -776,6 +761,25 @@
[preview_develop.params]
showSection = true

########## Menus (in preview) for AI

[[preview_ai]]
name = "AI"
weight = 3
identifier = "ai"
url = "/preview/ai/"
[preview_ai.params]
showSection = true

[[preview_ai]]
name = "Tutorials"
weight = 10
identifier = "ai-tutorials"
parent = "ai"
url = "/preview/ai/tutorials/"
[preview_ai.params]
showSection = true

########## Menus (in preview) for APIs

# [[preview_api]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,6 @@ A higher `ef_construction` value provides faster recall at the cost of index bui
## Learn more

- Tutorial: [Build and Learn](/preview/develop/tutorials/build-and-learn/)
- Tutorials: [Build scalable generative AI applications with YugabyteDB](/preview/develop/tutorials/ai/)
- Tutorials: [Build scalable generative AI applications with YugabyteDB](/preview/ai/tutorials/)
- [PostgreSQL pgvector: Getting Started and Scaling](https://www.yugabyte.com/blog/postgresql-pgvector-getting-started/)
- [Multimodal Search with PostgreSQL pgvector](https://www.yugabyte.com/blog/postgresql-pgvector-multimodal-search/)
83 changes: 83 additions & 0 deletions docs/content/preview/ai/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
title: AI and YugabyteDB
headerTitle: Develop applications with AI and YugabyteDB
linkTitle: "AI"
description: "Build AI applications with YugabyteDB - Postgres-based AI data store for real-time transactional applications"
headcontent: "Build AI applications with YugabyteDB - Postgres-based AI data store for real-time transactional applications"
menu:
preview:
identifier: ai
weight: 3
type: indexpage
showRightNav: true
cascade:
unversioned: true
breadcrumbDisable: true
---

YugabyteDB is a Postgres-based AI data store for real-time transactional applications that drives innovation and flexibility. To keep up with AI, we leverage the Postgres ecosystem and open community. YugabyteDB simplifies processing of unstructured data at scale, without unnecessary data movement. It enables production deployment with confidence, with ultra-resilience, scalability, data security, and enterprise-grade readiness.

{{< sections/2-boxes >}}
{{< sections/bottom-image-box
title="Build your first RAG application"
description="Get started with the Hello RAG tutorial to build a Retrieval-Augmented Generation (RAG) pipeline with YugabyteDB."
buttonText="Get Started"
buttonUrl="/preview/ai/tutorials/hello-rag/"
imageAlt="AI with YugabyteDB" imageUrl="/images/homepage/yugabyte-in-cloud.svg"
>}}

{{< sections/bottom-image-box
title="Explore AI tutorials"
description="Learn how to build AI applications through our comprehensive collection of step-by-step tutorials."
buttonText="Explore"
buttonUrl="/preview/ai/tutorials/"
imageAlt="AI tutorials" imageUrl="/images/homepage/locally-laptop.svg"
>}}
{{< /sections/2-boxes >}}

## YugabyteDB for AI applications

{{< sections/3-boxes>}}
{{< sections/3-box-card
title="Drives innovation & flexibility"
description="To keep up with AI, we leverage the Postgres ecosystem and open community."
>}}

{{< sections/3-box-card
title="Simplifies processing of unstructured data"
description="At scale, without unnecessary data movement."
>}}

{{< sections/3-box-card
title="Enables production deployment with confidence"
description="With ultra-resilience, scalability, data security, and enterprise-grade readiness."
>}}

{{< /sections/3-boxes >}}

## Build AI applications

{{< sections/3-boxes>}}
{{< sections/3-box-card
title="AI tutorials"
description="Explore our comprehensive collection of AI tutorials covering RAG, vector search, and LLM integrations."
buttonText="Learn more"
buttonUrl="/preview/ai/tutorials/"
>}}

{{< sections/3-box-card
title="pgvector extension"
description="Learn how to use pgvector for vector similarity search and embeddings in YugabyteDB."
buttonText="Learn more"
buttonUrl="/preview/additional-features/pg-extensions/extension-pgvector/"
>}}

{{< sections/3-box-card
title="AI blogs"
description="Read about AI use cases, best practices, and insights from our community and experts."
buttonText="Read more"
buttonUrl="https://www.yugabyte.com/blog/?s=ai"
buttonTarget="_blank"
>}}

{{< /sections/3-boxes >}}
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
---
title: Artificial Intelligence with YugabyteDB
headerTitle: Develop applications with AI and YugabyteDB
linkTitle: AI
description: How to Develop Applications with AI and YugabyteDB
image:
headcontent: Add a scalable and highly-available database to your AI projects
menu:
preview_develop:
parent: tutorials
identifier: tutorials-ai
weight: 30
title: "AI tutorials"
headerTitle: "AI tutorials"
linkTitle: "Tutorials"
description: "Learn how to build AI applications with YugabyteDB through step-by-step tutorials"
headcontent: "Learn how to build AI applications with YugabyteDB through step-by-step tutorials"
type: indexpage
showRightNav: true
cascade:
Expand All @@ -27,7 +21,6 @@ cascade:
{{</index/block>}}

{{<index/block>}}

{{<index/item
title="Similarity Search using Azure AI"
body="Build a scalable generative AI application using YugabyteDB as the database backend."
Expand All @@ -39,7 +32,6 @@ cascade:
body="Deploy generative AI applications using Google Vertex AI and YugabyteDB."
href="google-vertex-ai/"
icon="/images/tutorials/google/icons/Google-Vertex-AI-Icon.svg">}}

{{</index/block>}}

## Vector basics
Expand All @@ -61,7 +53,6 @@ cascade:
## Agentic, multiple data sources, and multi-step reasoning

{{<index/block>}}

{{<index/item
title="YugabyteDB MCP Server"
body="Get LLMs to interact directly with YugabyteDB."
Expand All @@ -79,4 +70,4 @@ cascade:
body="Build scalable applications with LLM integrations using LangChain and OpenAI."
href="ai-langchain-openai/"
icon="/images/tutorials/ai/icons/langchain-icon.svg">}}
{{</index/block>}}
{{</index/block>}}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ description: Learn to build context-aware LLM applications using LangChain and O
image: /images/tutorials/ai/icons/langchain-icon.svg
headcontent: Query your database using natural language
menu:
preview_develop:
preview_ai:
identifier: tutorials-ai-langchain-openai
parent: tutorials-ai-agentic
parent: ai-tutorials
weight: 60
type: docs
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ description: Learn to build RAG applications using LlamaIndex and OpenAI.
image: /images/tutorials/ai/icons/llamaindex-icon.svg
headcontent: Use YugabyteDB as the database backend for RAG applications
menu:
preview_develop:
preview_ai:
identifier: tutorials-ai-llamaindex-openai
parent: tutorials-ai-agentic
parent: ai-tutorials
weight: 60
type: docs
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ description: Learn to build LLM applications using LocalAI.
image: /images/tutorials/ai/icons/localai-icon.svg
headcontent: Use YugabyteDB as the database backend for LLM applications
menu:
preview_develop:
preview_ai:
identifier: tutorials-ai-localai
parent: tutorials-ai-vector
parent: ai-tutorials
weight: 60
type: docs
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ description: Learn to build LLM applications using Ollama.
image: /images/tutorials/ai/icons/ollama-icon.svg
headcontent: Use YugabyteDB as the database backend for LLM applications
menu:
preview_develop:
preview_ai:
identifier: tutorials-ai-ollama
parent: tutorials-ai-vector
parent: ai-tutorials
weight: 60
type: docs
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ headcontent: Use YugabyteDB as the database backend for Azure OpenAI application
aliases:
- /tutorials/azure/azure-openai/
menu:
preview_develop:
preview_ai:
identifier: tutorials-azure-openai
parent: tutorials-ai-rag
parent: ai-tutorials
weight: 40
type: docs
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ headcontent: Use YugabyteDB as the database backend for Google Vertex AI applica
aliases:
- /tutorials/google/google-vertex-ai/
menu:
preview_develop:
preview_ai:
identifier: tutorials-google-vertex-ai
parent: tutorials-ai-rag
parent: ai-tutorials
weight: 40
type: docs
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ linkTitle: Hello RAG
description: Build a Retrieval-Augmented Generation (RAG) pipeline with YugabyteDB
headcontent: Build a Retrieval-Augmented Generation pipeline with YugabyteDB
menu:
preview_develop:
preview_ai:
identifier: tutorials-rag-hello
parent: tutorials-ai-rag
parent: ai-tutorials
weight: 40
type: docs
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ linkTitle: YugabyteDB MCP Server
description: Get LLMs to interact directly with YugabyteDB using a MCP server
headcontent: Get LLMs to interact directly with YugabyteDB
menu:
preview_develop:
preview_ai:
identifier: tutorials-mcp-server
parent: tutorials-ai-agentic
parent: ai-tutorials
weight: 20
type: docs
---
Expand Down
6 changes: 3 additions & 3 deletions docs/content/preview/explore/going-beyond-sql/gen-ai-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ The primary purpose of the LLM is to convert a question in a natural language to

Several tutorials on the different ways of setting up Gen-AI-based interfaces for your database are available:

- [Using Langchain and OpenAI](/preview/develop/tutorials/ai/ai-langchain-openai/)
- [Using LlamaIndex and OpenAI](/preview/develop/tutorials/ai/ai-llamaindex-openai/)
- [Using local LLMs](/preview/develop/tutorials/ai/ai-localai/)
- [Using Langchain and OpenAI](/preview/ai/tutorials/ai-langchain-openai/)
- [Using LlamaIndex and OpenAI](/preview/ai/tutorials/ai-llamaindex-openai/)
- [Using local LLMs](/preview/ai/tutorials/ai-localai/)

## Choice of LLM

Expand Down