llama-stack-mirror/llama_stack/ui
Francisco Arceo 9b70bb9d4b
Some checks failed
Integration Auth Tests / test-matrix (oauth2_token) (push) Failing after 4s
Integration Tests (Replay) / discover-tests (push) Successful in 3s
Test External Providers Installed via Module / test-external-providers-from-module (venv) (push) Has been skipped
Python Package Build Test / build (3.12) (push) Failing after 9s
Vector IO Integration Tests / test-matrix (3.12, remote::qdrant) (push) Failing after 15s
Vector IO Integration Tests / test-matrix (3.12, inline::sqlite-vec) (push) Failing after 16s
Unit Tests / unit-tests (3.13) (push) Failing after 12s
Test External API and Providers / test-external (venv) (push) Failing after 13s
SqlStore Integration Tests / test-postgres (3.12) (push) Failing after 20s
SqlStore Integration Tests / test-postgres (3.13) (push) Failing after 20s
Integration Tests (Replay) / Integration Tests (, , , client=, vision=) (push) Failing after 14s
Vector IO Integration Tests / test-matrix (3.12, inline::milvus) (push) Failing after 20s
Python Package Build Test / build (3.13) (push) Failing after 15s
Vector IO Integration Tests / test-matrix (3.12, remote::pgvector) (push) Failing after 18s
Vector IO Integration Tests / test-matrix (3.12, remote::weaviate) (push) Failing after 23s
Vector IO Integration Tests / test-matrix (3.13, remote::pgvector) (push) Failing after 23s
Vector IO Integration Tests / test-matrix (3.13, remote::weaviate) (push) Failing after 14s
Vector IO Integration Tests / test-matrix (3.12, inline::faiss) (push) Failing after 17s
Vector IO Integration Tests / test-matrix (3.13, remote::chromadb) (push) Failing after 15s
Vector IO Integration Tests / test-matrix (3.12, remote::chromadb) (push) Failing after 17s
Vector IO Integration Tests / test-matrix (3.13, inline::milvus) (push) Failing after 15s
Vector IO Integration Tests / test-matrix (3.13, inline::faiss) (push) Failing after 16s
Vector IO Integration Tests / test-matrix (3.13, remote::qdrant) (push) Failing after 17s
Vector IO Integration Tests / test-matrix (3.13, inline::sqlite-vec) (push) Failing after 57s
Unit Tests / unit-tests (3.12) (push) Failing after 55s
Pre-commit / pre-commit (push) Successful in 2m10s
feat(ui): Adding Vector Store Files to Admin UI (#3041)
# What does this PR do?
This PR updates the UI to create new:
1. `/files/{file_id}` 
2. `files/{file_id}/contents`
3. `files/{file_id}/contents/{content_id}` 

The list of files are clickable which brings the user to the FIles
Detail page
The File Details page shows all of the content
The content details page shows the individual chunk/content parsed 

These only use our existing OpenAI compatible APIs. I have a separate
branch where I expose the embedding and the portal is correctly
populated. I included the FE rendering code for that in this PR.

1. `vector-stores/{vector_store_id}/files/{file_id}` 
<img width="1913" height="1351" alt="Screenshot 2025-08-06 at 10 20
12 PM"
src="https://github.com/user-attachments/assets/08010d5e-60c8-4bd9-9f3e-a2731ed1ad55"
/>

2. `vector-stores/{vector_store_id}/files/{file_id}/contents`
<img width="1920" height="1272" alt="Screenshot 2025-08-06 at 10 21
23 PM"
src="https://github.com/user-attachments/assets/3b91e67b-5d64-4fe6-91b6-18f14587e850"
/>

3.
`vector-stores/{vector_store_id}/files/{file_id}/contents/{content_id}`
<img width="1916" height="1273" alt="Screenshot 2025-08-06 at 10 21
45 PM"
src="https://github.com/user-attachments/assets/d38ca996-e8d9-460c-9e39-7ff0cb5ec0dd"
/>

## Test Plan
I tested this locally and reviewed the code. I generated a significant
share of the code with Claude and some manual intervention. After this,
I'll begin adding tests to the UI.

---------

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
2025-08-08 07:44:06 -07:00
..
app feat(ui): Adding Vector Store Files to Admin UI (#3041) 2025-08-08 07:44:06 -07:00
components feat(ui): Adding Vector Store Files to Admin UI (#3041) 2025-08-08 07:44:06 -07:00
e2e feat(ui): add infinite scroll pagination to chat completions/responses logs table (#2466) 2025-06-18 15:28:39 -07:00
hooks feat(UI): adding MVP playground UI (#2828) 2025-07-30 19:44:16 -07:00
lib feat(ui): Adding Vector Store Files to Admin UI (#3041) 2025-08-08 07:44:06 -07:00
public feat: scaffolding for Llama Stack UI (#2149) 2025-05-14 17:22:46 -07:00
types feat(auth,ui): support github sign-in in the UI (#2545) 2025-07-08 11:02:57 -07:00
.gitignore feat(ui): add infinite scroll pagination to chat completions/responses logs table (#2466) 2025-06-18 15:28:39 -07:00
.prettierignore feat(ui): implement chat completion views (#2201) 2025-05-22 22:05:54 -07:00
.prettierrc feat(ui): implement chat completion views (#2201) 2025-05-22 22:05:54 -07:00
components.json feat(UI): adding MVP playground UI (#2828) 2025-07-30 19:44:16 -07:00
eslint.config.mjs feat: scaffolding for Llama Stack UI (#2149) 2025-05-14 17:22:46 -07:00
instrumentation.ts feat(auth,ui): support github sign-in in the UI (#2545) 2025-07-08 11:02:57 -07:00
jest.config.ts feat(ui): add infinite scroll pagination to chat completions/responses logs table (#2466) 2025-06-18 15:28:39 -07:00
jest.setup.ts feat(ui): add infinite scroll pagination to chat completions/responses logs table (#2466) 2025-06-18 15:28:39 -07:00
next.config.ts feat: scaffolding for Llama Stack UI (#2149) 2025-05-14 17:22:46 -07:00
package-lock.json feat(ui): Adding Vector Store Files to Admin UI (#3041) 2025-08-08 07:44:06 -07:00
package.json fix(ci): allow tests to skip llama stack client instantiation (#3052) 2025-08-06 11:15:41 -07:00
playwright.config.ts feat(ui): add infinite scroll pagination to chat completions/responses logs table (#2466) 2025-06-18 15:28:39 -07:00
postcss.config.mjs feat: scaffolding for Llama Stack UI (#2149) 2025-05-14 17:22:46 -07:00
README.md feat(ui): implement chat completion views (#2201) 2025-05-22 22:05:54 -07:00
tsconfig.json feat: scaffolding for Llama Stack UI (#2149) 2025-05-14 17:22:46 -07:00

This is WIP.

We use shadcdn/ui Shadcn UI for the UI components.

Getting Started

First, install dependencies:

npm install

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:8322 with your browser to see the result.