From 57ccab9ae860c9095d1669763bf55c0b8f89bf05 Mon Sep 17 00:00:00 2001 From: aishwarya24 Date: Wed, 29 Oct 2025 15:21:33 -0400 Subject: [PATCH] base draft --- docs/config/_default/menus.toml | 56 +++++++------ .../pg-extensions/extension-pgvector.md | 2 +- docs/content/preview/ai/_index.md | 83 +++++++++++++++++++ .../tutorials/AI => ai/tutorials}/_index.md | 21 ++--- .../tutorials}/ai-langchain-openai.md | 4 +- .../tutorials}/ai-llamaindex-openai.md | 4 +- .../AI => ai/tutorials}/ai-localai.md | 4 +- .../AI => ai/tutorials}/ai-ollama.md | 4 +- .../AI => ai/tutorials}/azure-openai.md | 4 +- .../AI => ai/tutorials}/google-vertex-ai.md | 4 +- .../AI => ai/tutorials}/hello-rag.md | 4 +- .../AI => ai/tutorials}/mcp-server.md | 4 +- .../explore/going-beyond-sql/gen-ai-apps.md | 6 +- 13 files changed, 139 insertions(+), 61 deletions(-) create mode 100644 docs/content/preview/ai/_index.md rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/_index.md (84%) rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/ai-langchain-openai.md (99%) rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/ai-llamaindex-openai.md (99%) rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/ai-localai.md (99%) rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/ai-ollama.md (99%) rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/azure-openai.md (99%) rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/google-vertex-ai.md (99%) rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/hello-rag.md (99%) rename docs/content/preview/{develop/tutorials/AI => ai/tutorials}/mcp-server.md (99%) diff --git a/docs/config/_default/menus.toml b/docs/config/_default/menus.toml index df75ddfb2fa8..ae0cda7345c0 100644 --- a/docs/config/_default/menus.toml +++ b/docs/config/_default/menus.toml @@ -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/" @@ -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 @@ -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]] diff --git a/docs/content/preview/additional-features/pg-extensions/extension-pgvector.md b/docs/content/preview/additional-features/pg-extensions/extension-pgvector.md index f54833f1b2fc..b5dc5d2ff4b7 100644 --- a/docs/content/preview/additional-features/pg-extensions/extension-pgvector.md +++ b/docs/content/preview/additional-features/pg-extensions/extension-pgvector.md @@ -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/) diff --git a/docs/content/preview/ai/_index.md b/docs/content/preview/ai/_index.md new file mode 100644 index 000000000000..5cba2d9a7f75 --- /dev/null +++ b/docs/content/preview/ai/_index.md @@ -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 >}} \ No newline at end of file diff --git a/docs/content/preview/develop/tutorials/AI/_index.md b/docs/content/preview/ai/tutorials/_index.md similarity index 84% rename from docs/content/preview/develop/tutorials/AI/_index.md rename to docs/content/preview/ai/tutorials/_index.md index 4405bf24a312..ed7826a88a37 100644 --- a/docs/content/preview/develop/tutorials/AI/_index.md +++ b/docs/content/preview/ai/tutorials/_index.md @@ -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: @@ -27,7 +21,6 @@ cascade: {{}} {{}} - {{}} - {{}} ## Vector basics @@ -61,7 +53,6 @@ cascade: ## Agentic, multiple data sources, and multi-step reasoning {{}} - {{}} -{{}} +{{}} \ No newline at end of file diff --git a/docs/content/preview/develop/tutorials/AI/ai-langchain-openai.md b/docs/content/preview/ai/tutorials/ai-langchain-openai.md similarity index 99% rename from docs/content/preview/develop/tutorials/AI/ai-langchain-openai.md rename to docs/content/preview/ai/tutorials/ai-langchain-openai.md index 5a784a90357a..ffc17b97817e 100644 --- a/docs/content/preview/develop/tutorials/AI/ai-langchain-openai.md +++ b/docs/content/preview/ai/tutorials/ai-langchain-openai.md @@ -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 --- diff --git a/docs/content/preview/develop/tutorials/AI/ai-llamaindex-openai.md b/docs/content/preview/ai/tutorials/ai-llamaindex-openai.md similarity index 99% rename from docs/content/preview/develop/tutorials/AI/ai-llamaindex-openai.md rename to docs/content/preview/ai/tutorials/ai-llamaindex-openai.md index 8b961cf72fb0..7c4c243022de 100644 --- a/docs/content/preview/develop/tutorials/AI/ai-llamaindex-openai.md +++ b/docs/content/preview/ai/tutorials/ai-llamaindex-openai.md @@ -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 --- diff --git a/docs/content/preview/develop/tutorials/AI/ai-localai.md b/docs/content/preview/ai/tutorials/ai-localai.md similarity index 99% rename from docs/content/preview/develop/tutorials/AI/ai-localai.md rename to docs/content/preview/ai/tutorials/ai-localai.md index c1ec3faf0c16..970b2c577b47 100644 --- a/docs/content/preview/develop/tutorials/AI/ai-localai.md +++ b/docs/content/preview/ai/tutorials/ai-localai.md @@ -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 --- diff --git a/docs/content/preview/develop/tutorials/AI/ai-ollama.md b/docs/content/preview/ai/tutorials/ai-ollama.md similarity index 99% rename from docs/content/preview/develop/tutorials/AI/ai-ollama.md rename to docs/content/preview/ai/tutorials/ai-ollama.md index 3e52e4c75b3e..3115bd45522e 100644 --- a/docs/content/preview/develop/tutorials/AI/ai-ollama.md +++ b/docs/content/preview/ai/tutorials/ai-ollama.md @@ -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 --- diff --git a/docs/content/preview/develop/tutorials/AI/azure-openai.md b/docs/content/preview/ai/tutorials/azure-openai.md similarity index 99% rename from docs/content/preview/develop/tutorials/AI/azure-openai.md rename to docs/content/preview/ai/tutorials/azure-openai.md index 9929bc570311..c9760c918d83 100644 --- a/docs/content/preview/develop/tutorials/AI/azure-openai.md +++ b/docs/content/preview/ai/tutorials/azure-openai.md @@ -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 --- diff --git a/docs/content/preview/develop/tutorials/AI/google-vertex-ai.md b/docs/content/preview/ai/tutorials/google-vertex-ai.md similarity index 99% rename from docs/content/preview/develop/tutorials/AI/google-vertex-ai.md rename to docs/content/preview/ai/tutorials/google-vertex-ai.md index e0878a9d7cf4..394a4860e350 100644 --- a/docs/content/preview/develop/tutorials/AI/google-vertex-ai.md +++ b/docs/content/preview/ai/tutorials/google-vertex-ai.md @@ -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 --- diff --git a/docs/content/preview/develop/tutorials/AI/hello-rag.md b/docs/content/preview/ai/tutorials/hello-rag.md similarity index 99% rename from docs/content/preview/develop/tutorials/AI/hello-rag.md rename to docs/content/preview/ai/tutorials/hello-rag.md index 761bd49ab7b1..6a926ba5a845 100644 --- a/docs/content/preview/develop/tutorials/AI/hello-rag.md +++ b/docs/content/preview/ai/tutorials/hello-rag.md @@ -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 --- diff --git a/docs/content/preview/develop/tutorials/AI/mcp-server.md b/docs/content/preview/ai/tutorials/mcp-server.md similarity index 99% rename from docs/content/preview/develop/tutorials/AI/mcp-server.md rename to docs/content/preview/ai/tutorials/mcp-server.md index 779216ecd976..62ff61291eec 100644 --- a/docs/content/preview/develop/tutorials/AI/mcp-server.md +++ b/docs/content/preview/ai/tutorials/mcp-server.md @@ -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 --- diff --git a/docs/content/preview/explore/going-beyond-sql/gen-ai-apps.md b/docs/content/preview/explore/going-beyond-sql/gen-ai-apps.md index 655a1f106587..8636ddfd5877 100644 --- a/docs/content/preview/explore/going-beyond-sql/gen-ai-apps.md +++ b/docs/content/preview/explore/going-beyond-sql/gen-ai-apps.md @@ -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