mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 04:30:11 +01:00
* Extract optional dependencies * Separate local mode into llms-llama-cpp and embeddings-huggingface for clarity * Support Ollama embeddings * Upgrade to llamaindex 0.10.14. Remove legacy use of ServiceContext in ContextChatEngine * Fix vector retriever filters
30 lines
774 B
YAML
30 lines
774 B
YAML
name: "Install Dependencies"
|
|
description: "Action to build the project dependencies from the main versions"
|
|
inputs:
|
|
python_version:
|
|
required: true
|
|
type: string
|
|
default: "3.11.4"
|
|
poetry_version:
|
|
required: true
|
|
type: string
|
|
default: "1.5.1"
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Install Poetry
|
|
uses: snok/install-poetry@v1
|
|
with:
|
|
version: ${{ inputs.poetry_version }}
|
|
virtualenvs-create: true
|
|
virtualenvs-in-project: false
|
|
installer-parallel: true
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ inputs.python_version }}
|
|
cache: "poetry"
|
|
- name: Install Dependencies
|
|
run: poetry install --extras "ui vector-stores-qdrant" --no-root
|
|
shell: bash
|
|
|