Thanks to visit codestin.com
Credit goes to github.com

Skip to content

update ollama embedding example (#19894) #28357

update ollama embedding example (#19894)

update ollama embedding example (#19894) #28357

Workflow file for this run

name: Build Package
# Build package on its own without additional pip install
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Set up Python
run: uv python install
- name: Display Python version
run: python --version
- name: Build
run: uv build
- name: Test installing built package
shell: bash
run: |
uv venv
uv pip install dist/*.whl
- name: Test import
working-directory: ${{ vars.RUNNER_TEMP }}
run: uv run -- python -c "import llama_index"