Skip to content
Merged
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
4 changes: 2 additions & 2 deletions assets/css/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@
}
.chatbot-response-text * {
max-width: 98%;
margin-bottom:0;
line-height: 1.2;
margin-bottom: 8px;
line-height: 1.3;
}


Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,6 @@ Using what you have learned, navigate to the **Train, Test and Deploy** workflow

The diagram below shows the end-to-end workflow, the relationship between the steps, and the time required to run each step:

![#e2e-workflow](/images/e2e-workflow.png)
![#e2e-workflow](images/e2e-workflow.png)

You have run an MLOps workflow using GitHub Actions with Arm-hosted runners for managing all of the steps in your ML application's lifecycle.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ example_user_prompts:
- Do Hyperscan and Snort3 work on Graviton4?
- How can I easily build multi-architecture Docker images?

rag_data_cutoff_date: 2025/01/13
rag_data_cutoff_date: 2025/01/17

title_chatbot_area: Arm RAG Demo

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="c-row u-gap-1/2 u-flex-nowrap u-padding-top-0">
<div class="c-col">
<h2>RAG Vector Store Details</h2>
<p>This app uses all data on this site, <a href="https://www.learn.arm.com">learn.arm.com</a>, as the RAG data set. The Markdown formatted content across Learning Paths and Install Guides was segmented into labeled chunks, vector embeddings were generated using FAISS, which the LLM demo below references for your query.</p>
<p>This app uses all data on this site, <a href="https://www.learn.arm.com">learn.arm.com</a>, as the RAG data set. The Markdown formatted content across Learning Paths and Install Guides was segmented into labeled chunks, and vector embeddings were generated. FAISS is used for the embedded similarity search. The LLM demo below references this vector store for your query.</p>
<p><b>Note:</b> Data was sourced on {{.Params.rag_data_cutoff_date}}.</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,21 @@


(function() {
const server_location_encoded = '{{ getenv "HUGO_LLM_API" | base64Encode }}';

{{/* Get server location from GH Secrets */}}
{{ $server_location := "" }};

{{ if eq .Params.demo_template_name "llm_chatbot_rag_demo" }}
{{ $server_location = getenv "HUGO_RAG_API" | base64Encode }}
console.log('Using RAG API.');
{{ else if eq .Params.demo_template_name "llm_chatbot_first_demo" }}
{{ $server_location = getenv "HUGO_LLM_API" | base64Encode }}
console.log('Using LLM API.');
{{ else }}
console.log('No server location provided.');
{{ end }}

const server_location_encoded = '{{ $server_location }}';


function startPingCheck() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@
<!-- Demo page only -->
{{ if and $is_content (hasPrefix .File.TranslationBaseName "_demo")}}
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
// Your script using `marked`
const markdownString = "# Hello, Markdown!";
const htmlContent = marked(markdownString);
console.log(htmlContent);
</script>
{{end}}

<!-- Also add prism to any _demo page that needs it, set as a 'prismjs' variable -->
Expand Down