Skip to content

Commit 2e38395

Browse files
authored
Merge pull request #3361 from NeethuESim/rv-llamaindex-rag-axion-lp
fix: review changes for llamaindex-rag-axion LP
2 parents 51109ac + b8be026 commit 2e38395

18 files changed

Lines changed: 29 additions & 25 deletions

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/_index.md renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/_index.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Build RAG applications with LlamaIndex on Google Cloud C4A Axion VM
44
draft: true
55
cascade:
66
draft: true
7-
7+
88
description: Set up LlamaIndex on Google Cloud C4A Axion Arm VMs running SUSE Linux to build browser-based Retrieval-Augmented Generation (RAG) applications using local LLMs, vector databases, and FastAPI.
99

1010
minutes_to_complete: 30
@@ -42,25 +42,33 @@ tools_software_languages:
4242
operatingsystems:
4343
- Linux
4444

45-
# ================================================================================
46-
# FIXED, DO NOT MODIFY
47-
# ================================================================================
48-
4945
further_reading:
50-
- resource:
46+
- resource:
5147
title: LlamaIndex official documentation
5248
link: https://docs.llamaindex.ai/en/stable/
5349
type: documentation
54-
55-
- resource:
50+
- resource:
5651
title: LlamaIndex GitHub repository
5752
link: https://github.com/run-llama/llama_index
5853
type: documentation
59-
60-
- resource:
54+
- resource:
6155
title: Ollama documentation
6256
link: https://ollama.com/library
6357
type: documentation
58+
- resource:
59+
title: Introducing Google Axion Processors, our new Arm-based CPUs
60+
link: https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu
61+
type: documentation
62+
- resource:
63+
title: Getting started with Google Cloud Platform
64+
link: https://learn.arm.com/learning-paths/servers-and-cloud-computing/csp/google/
65+
type: documentation
66+
67+
68+
69+
# ================================================================================
70+
# FIXED, DO NOT MODIFY
71+
# ================================================================================
6472

6573
weight: 1
6674
layout: "learningpathall"

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/_next-steps.md renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/_next-steps.md

File renamed without changes.

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/background.md renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/background.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Google Axion C4A is a family of Arm-based virtual machines built on Google’s c
1111

1212
The C4A series provides a cost-effective alternative to x86 virtual machines while using the scalability and performance benefits of the Arm architecture in Google Cloud.
1313

14-
To learn more, see the Google blog [Introducing Google Axion Processors, our new Arm-based CPUs](https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu).
15-
1614
## LlamaIndex for RAG and context-aware AI applications on Arm
1715

1816
LlamaIndex is an open-source framework designed to build context-aware AI applications using Large Language Models (LLMs). It's widely used for Retrieval-Augmented Generation (RAG), document indexing, vector search, semantic retrieval, and integrating custom data sources with LLMs.
@@ -29,8 +27,6 @@ Running LlamaIndex on Google Axion C4A Arm-based infrastructure enables efficien
2927

3028
Common use cases include browser-based AI assistants, document search applications, semantic retrieval systems, vector database integrations, enterprise knowledge bases, and context-aware chatbot applications.
3129

32-
To learn more, see the [LlamaIndex documentation](https://docs.llamaindex.ai/en/stable/) and the [LlamaIndex GitHub repository](https://github.com/run-llama/llama_index).
33-
3430
## What you've learned and what's next
3531

3632
You've now learned about Google Axion C4A Arm-based virtual machines and their performance advantages for AI and RAG workloads. You were also introduced to core LlamaIndex components including document ingestion, indexing pipelines, query engines, vector stores, and LLM integrations.

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/build-browser-rag-app.md renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/build-browser-rag-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ INFO: Uvicorn running on http://0.0.0.0:8000
350350
Open a browser and navigate to:
351351

352352
```text
353-
http://<VM-IP>:8000
353+
http://<VM-EXTERNAL-IP>:8000
354354
```
355355

356356
This opens the browser-based RAG application UI.
@@ -389,7 +389,7 @@ Copy your own files into the data directory:
389389
cp yourfile.txt ~/llamaindex-rag/data/
390390
```
391391

392-
Restart FastAPI:
392+
First stop the server and then restart FastAPI:
393393

394394
```bash
395395
uvicorn api:app --host 0.0.0.0 --port 8000

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/firewall.md renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/firewall.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ layout: learningpathall
1010

1111
Create a firewall rule in Google Cloud Console to expose the required port for the browser-based LlamaIndex RAG application.
1212

13-
{{% notice Note %}}For help with GCP setup, see the Learning Path [Getting started with Google Cloud Platform](/learning-paths/servers-and-cloud-computing/csp/google/).{{% /notice %}}
14-
1513
## Configure the firewall rule in Google Cloud Console
1614

1715
To configure a firewall rule for the LlamaIndex browser-based RAG application:
@@ -40,7 +38,9 @@ Use port mapping **8000** for the browser-based LlamaIndex RAG application runni
4038
4139
![Google Cloud Console Protocols and ports section with TCP selected and port 8000 entered#center](images/network-port.png "Setting the LlamaIndex browser application port in the firewall rule")
4240
43-
7. Select **Create**.
41+
7. Also add port 22 in **TCP** checkbox for ssh access.
42+
43+
8. Select **Create**.
4444
4545
## What you've accomplished and what's next
4646

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/images/firewall-rule.png renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/images/firewall-rule.png

File renamed without changes.

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/images/gcp-pubip-ssh.png renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/images/gcp-pubip-ssh.png

File renamed without changes.

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/images/gcp-shell.png renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/images/gcp-shell.png

File renamed without changes.

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/images/gcp-vm.png renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/images/gcp-vm.png

File renamed without changes.

content/learning-paths/servers-and-cloud-computing/llmaidex-rag-axion/images/network-port.png renamed to content/learning-paths/servers-and-cloud-computing/llamaindex-rag-axion/images/network-port.png

File renamed without changes.

0 commit comments

Comments
 (0)