You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/01_foundations/README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
# Foundations
2
2
3
+
## Prerequisites
4
+
5
+
Before running these demos, ensure you have a Llama Stack server running:
6
+
7
+
**Option 1: Local Server (Recommended for learning)**
8
+
```bash
9
+
# Follow the setup instructions in ../README.md to install Ollama and start the server
10
+
llama stack run starter # Runs on localhost:8321
11
+
```
12
+
13
+
**Option 2: Remote Server**
14
+
If using a remote server (e.g., OpenShift AI), ensure you have:
15
+
- Network access to the server
16
+
- Authentication token configured in `.env` file (`LLAMA_STACK_CLIENT_API_KEY`)
17
+
- Port forwarding set up if needed
18
+
3
19
## Overview
4
20
This folder teaches the fundamental building blocks of Llama Stack, including client setup, chat completions, vector databases, and tool integration. These examples cover the core APIs and concepts needed to build AI applications.
0 commit comments